Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: src/code-stubs.h

Issue 111613003: Load the global proxy from the context of the target function. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: hydrogen Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698