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

Unified Diff: src/stub-cache.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/spaces.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/stub-cache.h
diff --git a/src/stub-cache.h b/src/stub-cache.h
index ebf0bd3c917b5e06ba80f0a4bedb5bd1703def23..0cf9e8fae00ed89be9f0db23eeab0695b8c80a91 100644
--- a/src/stub-cache.h
+++ b/src/stub-cache.h
@@ -912,7 +912,11 @@ class CallStubCompiler: public StubCompiler {
// Patch the global proxy over the global object if the global object is the
// receiver.
- void PatchGlobalProxy(Handle<Object> object);
+ static void FetchGlobalProxy(MacroAssembler* masm,
+ Register target,
+ Register function);
+ void PatchGlobalProxy(Handle<Object> object, Register function);
+ void PatchGlobalProxy(Handle<Object> object, Handle<JSFunction> function);
// Returns the register containing the holder of |name|.
Register HandlerFrontendHeader(Handle<Object> object,
« no previous file with comments | « src/spaces.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698