Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index ee1c2bece71d92b33f3502367c37e25fbb221784..d625d644c776e744251d69bfc7f582b77751c1b2 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -871,12 +871,10 @@ bool CompileLazyInLoop(Handle<JSFunction> function, |
} |
-bool CompileOptimized(Handle<JSFunction> function, |
- int osr_ast_id, |
- ClearExceptionFlag flag) { |
+bool CompileOptimized(Handle<JSFunction> function, int osr_ast_id) { |
CompilationInfo info(function); |
info.SetOptimizing(osr_ast_id); |
- bool result = CompileLazyHelper(&info, flag); |
+ bool result = CompileLazyHelper(&info, KEEP_EXCEPTION); |
if (result) PROFILE(FunctionCreateEvent(*function)); |
return result; |
} |