| Index: src/handles.cc
|
| ===================================================================
|
| --- src/handles.cc (revision 6967)
|
| +++ src/handles.cc (working copy)
|
| @@ -863,10 +863,12 @@
|
| }
|
|
|
|
|
| -bool CompileOptimized(Handle<JSFunction> function, int osr_ast_id) {
|
| +bool CompileOptimized(Handle<JSFunction> function,
|
| + int osr_ast_id,
|
| + ClearExceptionFlag flag) {
|
| CompilationInfo info(function);
|
| info.SetOptimizing(osr_ast_id);
|
| - return CompileLazyHelper(&info, KEEP_EXCEPTION);
|
| + return CompileLazyHelper(&info, flag);
|
| }
|
|
|
|
|
|
|