Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index a32a418606a058f5368a29d0ca0782a2400136e6..71ae30473fc0ed2c50574d20243de53c609a70b9 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2414,7 +2414,8 @@ class HCallNamed V8_FINAL : public HUnaryCall { |
enum CallMode { |
NORMAL_CALL, |
- TAIL_CALL |
+ TAIL_CALL, |
+ NORMAL_CONTEXTUAL_CALL |
}; |
@@ -2425,7 +2426,7 @@ class HCallFunction V8_FINAL : public HBinaryCall { |
HCallFunction, HValue*, int, CallMode); |
bool IsTailCall() const { return call_mode_ == TAIL_CALL; } |
- |
+ bool IsContextualCall() const { return call_mode_ == NORMAL_CONTEXTUAL_CALL; } |
HValue* context() { return first(); } |
HValue* function() { return second(); } |