[PATCH] D69411: [MC] Calculate difference of symbols in two fragments when possible

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 10:09:08 PST 2019


nickdesaulniers added inline comments.


================
Comment at: llvm/lib/MC/MCExpr.cpp:486
+                                      const MCAssembler *Asm) const {
+  MCValue Value;
+
----------------
You can move this declaration down closer to where it is used.  No need to construct if the below conditional returns early.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69411/new/

https://reviews.llvm.org/D69411





More information about the llvm-commits mailing list