Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index 03a8cb2a1e6527d0a4915019104e4beadd4803e5..37bf12776c25b66a6f95ea61cddb77ea556d71ff 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -51,7 +51,7 @@ namespace Ice { |
// FakeDef and FakeUse instructions to try maintain liveness consistency. |
#define UnimplementedLoweringError(Target, Instr) \ |
do { \ |
- if ((Target)->Ctx->getFlags().getSkipUnimplemented()) { \ |
+ if (getFlags().getSkipUnimplemented()) { \ |
(Target)->addFakeDefUses(Instr); \ |
} else { \ |
/* Use llvm_unreachable instead of report_fatal_error, which gives \ |
@@ -181,7 +181,7 @@ public: |
virtual std::unique_ptr<Assembler> createAssembler() const = 0; |
void translate() { |
- switch (Ctx->getFlags().getOptLevel()) { |
+ switch (getFlags().getOptLevel()) { |
case Opt_m1: |
translateOm1(); |
break; |