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, |