Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 65e54e652b55937524f7171f120c9a6270c59531..3d23f1a61d218b7bb952454353a029b08113b801 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -758,8 +758,8 @@ class AstContext { |
virtual void ReturnContinuation(HIfContinuation* continuation, |
BailoutId ast_id) = 0; |
- void set_for_typeof(bool for_typeof) { for_typeof_ = for_typeof; } |
- bool is_for_typeof() { return for_typeof_; } |
+ void set_typeof_mode(TypeofMode typeof_mode) { typeof_mode_ = typeof_mode; } |
+ TypeofMode typeof_mode() { return typeof_mode_; } |
protected: |
AstContext(HOptimizedGraphBuilder* owner, Expression::Context kind); |
@@ -779,7 +779,7 @@ class AstContext { |
HOptimizedGraphBuilder* owner_; |
Expression::Context kind_; |
AstContext* outer_; |
- bool for_typeof_; |
+ TypeofMode typeof_mode_; |
}; |