Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index f16a8db82598446ad057d0825cd4850c65a7e3eb..f7a823591b8e52f28d8760fba94d6d2a70594f36 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -730,8 +730,8 @@ class CallFunctionStub: public CodeStub { |
// Minor key encoding in 32 bits with Bitfield <Type, shift, size>. |
class InLoopBits: public BitField<InLoopFlag, 0, 1> {}; |
- class FlagBits: public BitField<CallFunctionFlags, 1, 1> {}; |
- class ArgcBits: public BitField<int, 2, 32 - 2> {}; |
+ class FlagBits: public BitField<CallFunctionFlags, 1, 2> {}; |
+ class ArgcBits: public BitField<int, 3, 32 - 3> {}; |
Major MajorKey() { return CallFunction; } |
int MinorKey() { |
@@ -742,9 +742,14 @@ class CallFunctionStub: public CodeStub { |
} |
InLoopFlag InLoop() { return in_loop_; } |
+ |
bool ReceiverMightBeValue() { |
return (flags_ & RECEIVER_MIGHT_BE_VALUE) != 0; |
} |
+ |
+ bool NonValueReceiverMightBeImplicit() { |
+ return (flags_ & NON_VALUE_RECEIVER_MIGHT_BE_IMPLICIT) != 0; |
+ } |
}; |