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

Unified Diff: src/code-stubs.h

Issue 104013008: Reland v8:18458 "Load the global proxy from the context of the target function." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « src/bootstrapper.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698