Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 2ab62b0cdc2a620e68cae5a1a18aace9d8b40842..775edd7593b5fecef826ebae5b5ae5eded8b82b2 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1462,8 +1462,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() { |
@@ -1475,6 +1475,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; |
} |