Index: src/handles.h |
=================================================================== |
--- src/handles.h (revision 3211) |
+++ src/handles.h (working copy) |
@@ -308,8 +308,8 @@ |
Handle<Object> prototype); |
-// Do lazy compilation of the given function. Returns true on success |
-// and false if the compilation resulted in a stack overflow. |
+// Does lazy compilation of the given function. Returns true on success and |
+// false if the compilation resulted in a stack overflow. |
enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION }; |
bool CompileLazyShared(Handle<SharedFunctionInfo> shared, |
@@ -319,6 +319,9 @@ |
bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag); |
bool CompileLazyInLoop(Handle<JSFunction> function, ClearExceptionFlag flag); |
+// Returns the lazy compilation stub for argc arguments. |
+Handle<Code> ComputeLazyCompile(int argc); |
+ |
// These deal with lazily loaded properties. |
void SetupLazy(Handle<JSObject> obj, |
int index, |