Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 55ebe219fdf8c80ba91c52cced2e0aab4a1b09b4..998b36d87525e81077707edb62d467c18b331be5 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1466,8 +1466,8 @@ class CallFunctionStub: public PlatformCodeStub { |
virtual void PrintName(StringStream* stream); |
// Minor key encoding in 32 bits with Bitfield <Type, shift, size>. |
- class FlagBits: public BitField<CallFunctionFlags, 0, 2> {}; |
- class ArgcBits: public BitField<unsigned, 2, 32 - 2> {}; |
+ class FlagBits: public BitField<CallFunctionFlags, 0, 3> {}; |
+ class ArgcBits: public BitField<unsigned, 3, 32 - 3> {}; |
Major MajorKey() { return CallFunction; } |
int MinorKey() { |
@@ -1479,6 +1479,10 @@ class CallFunctionStub: public PlatformCodeStub { |
return (flags_ & RECEIVER_MIGHT_BE_IMPLICIT) != 0; |
} |
+ bool ReceiverIsImplicit() { |
+ return (flags_ & RECEIVER_IS_IMPLICIT) != 0; |
+ } |
+ |
bool RecordCallTarget() { |
return (flags_ & RECORD_CALL_TARGET) != 0; |
} |