Index: src/v8globals.h |
diff --git a/src/v8globals.h b/src/v8globals.h |
index ef9d70722c0bb0dc6be166c7951d34e6b9694105..a23ca194aa61fd0983b58d4efdcf6fe06c20a36e 100644 |
--- a/src/v8globals.h |
+++ b/src/v8globals.h |
@@ -310,7 +310,9 @@ enum InLoopFlag { |
enum CallFunctionFlags { |
NO_CALL_FUNCTION_FLAGS = 0, |
- RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject. |
+ // Receiver might implicitly be the global objects. If it is, the |
+ // hole is passed to the call function stub. |
+ RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0 |
}; |
@@ -497,6 +499,14 @@ enum SmiCheckType { |
DO_SMI_CHECK |
}; |
+ |
+// Used to specify whether a receiver is implicitly or explicitly |
+// provided to a call. |
+enum CallKind { |
+ CALL_AS_METHOD = 0, |
+ CALL_AS_FUNCTION |
+}; |
+ |
} } // namespace v8::internal |
#endif // V8_V8GLOBALS_H_ |