Index: src/IceTranslator.h |
diff --git a/src/IceTranslator.h b/src/IceTranslator.h |
index 648faeaf5f71369b98431700343e832358133a8f..11899513e415337d0b1b01a53747dfa9668093e3 100644 |
--- a/src/IceTranslator.h |
+++ b/src/IceTranslator.h |
@@ -30,17 +30,17 @@ class GlobalContext; |
class Translator { |
public: |
Translator(GlobalContext *Ctx, ClFlags &Flags) |
- : Ctx(Ctx), Flags(Flags), ExitStatus(0) {} |
+ : Ctx(Ctx), Flags(Flags), ErrorStatus(0) {} |
~Translator(); |
- int getExitStatus() const { return ExitStatus; } |
+ bool getErrorStatus() const { return ErrorStatus; } |
protected: |
GlobalContext *Ctx; |
ClFlags &Flags; |
- // The exit status of the translation. 0 is successful. Nonzero |
+ // The exit status of the translation. False is successful. True |
// otherwise. |
- int ExitStatus; |
+ bool ErrorStatus; |
// Ideally, Func would be inside the methods that converts IR to |
// functions. However, emitting the constant pool requires a valid |
// Cfg object, so we need to defer deleting the last non-empty Cfg |