Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index bb9ff78f47f0d42af112f1c9468ebb92ddca9873..3c3c1946c72d7778d241428e18dca6fc7b3d8c48 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1550,8 +1550,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() { |
@@ -1563,6 +1563,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; |
} |