Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index ebf0bd3c917b5e06ba80f0a4bedb5bd1703def23..07243f77e4aa0f69323b697f168c4b26b562465c 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 function, |
+ Register target); |
+ 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, |