| Index: src/handles.cc
|
| diff --git a/src/handles.cc b/src/handles.cc
|
| index 8c6439b227adbb2336459c368b79f21e7d005ed3..35c363c10c9f06e41394e07dcffcf48e0ba985fc 100644
|
| --- a/src/handles.cc
|
| +++ b/src/handles.cc
|
| @@ -921,16 +921,13 @@ bool CompileLazyShared(Handle<SharedFunctionInfo> shared,
|
| }
|
|
|
|
|
| -static bool CompileLazyFunction(Handle<JSFunction> function,
|
| - ClearExceptionFlag flag,
|
| - InLoopFlag in_loop_flag) {
|
| +bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag) {
|
| bool result = true;
|
| if (function->shared()->is_compiled()) {
|
| function->ReplaceCode(function->shared()->code());
|
| function->shared()->set_code_age(0);
|
| } else {
|
| CompilationInfo info(function);
|
| - if (in_loop_flag == IN_LOOP) info.MarkAsInLoop();
|
| result = CompileLazyHelper(&info, flag);
|
| ASSERT(!result || function->is_compiled());
|
| }
|
| @@ -938,18 +935,6 @@ static bool CompileLazyFunction(Handle<JSFunction> function,
|
| }
|
|
|
|
|
| -bool CompileLazy(Handle<JSFunction> function,
|
| - ClearExceptionFlag flag) {
|
| - return CompileLazyFunction(function, flag, NOT_IN_LOOP);
|
| -}
|
| -
|
| -
|
| -bool CompileLazyInLoop(Handle<JSFunction> function,
|
| - ClearExceptionFlag flag) {
|
| - return CompileLazyFunction(function, flag, IN_LOOP);
|
| -}
|
| -
|
| -
|
| bool CompileOptimized(Handle<JSFunction> function,
|
| int osr_ast_id,
|
| ClearExceptionFlag flag) {
|
|
|