Index: src/handles.h |
diff --git a/src/handles.h b/src/handles.h |
index fe820d59e648c09bd9a3ad4ce8a857fdbde250de..04f087bd8ec932471bd52537df128fbfb48d957a 100644 |
--- a/src/handles.h |
+++ b/src/handles.h |
@@ -313,12 +313,19 @@ Handle<Object> SetPrototype(Handle<JSFunction> function, |
// false if the compilation resulted in a stack overflow. |
enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION }; |
+bool EnsureCompiled(Handle<SharedFunctionInfo> shared, |
+ ClearExceptionFlag flag); |
+ |
bool CompileLazyShared(Handle<SharedFunctionInfo> shared, |
- ClearExceptionFlag flag, |
- int loop_nesting); |
+ ClearExceptionFlag flag); |
+ |
+bool CompileLazy(Handle<JSFunction> function, |
+ Handle<Object> receiver, |
+ ClearExceptionFlag flag); |
-bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag); |
-bool CompileLazyInLoop(Handle<JSFunction> function, ClearExceptionFlag flag); |
+bool CompileLazyInLoop(Handle<JSFunction> function, |
+ Handle<Object> receiver, |
+ ClearExceptionFlag flag); |
// Returns the lazy compilation stub for argc arguments. |
Handle<Code> ComputeLazyCompile(int argc); |