Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index e5abfb468678d01e3bea35bfb401c35a3e34bc71..cd2f0f59fa038f1c5e4bbaefef8fa6c58790f2a4 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -140,6 +140,13 @@ class MacroAssembler: public Assembler { |
// Find the function context up the context chain. |
void LoadContext(Register dst, int context_chain_length); |
+ // Load the global function with the given index. |
+ void LoadGlobalFunction(int index, Register function); |
+ |
+ // Load the initial map from the global function. The registers |
+ // function and map can be the same. |
+ void LoadGlobalFunctionInitialMap(Register function, Register map); |
+ |
// --------------------------------------------------------------------------- |
// JavaScript invokes |