Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index df8d2dcb61d54a4a9d3c5cbb15c3387878394512..73b9976294fc0c1ecc4704fa1bb4acad5b60aea3 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2399,7 +2399,8 @@ class HCallNamed V8_FINAL : public HUnaryCall { |
enum CallMode { |
NORMAL_CALL, |
- TAIL_CALL |
+ TAIL_CALL, |
+ NORMAL_CONTEXTUAL_CALL |
}; |
@@ -2410,7 +2411,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(); } |