summaryrefslogtreecommitdiff
path: root/deps/v8/src/handles.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-02-28 11:29:33 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-02-28 11:29:33 -0800
commit6442cbef2058019d2e53050f432a80e47c08f517 (patch)
tree2c27a43f5e40a0d072f32639e74142f2b5860478 /deps/v8/src/handles.cc
parenta14bb04c0500567bc0579da50cc5bc3cb559ba20 (diff)
downloadnode-6442cbef2058019d2e53050f432a80e47c08f517.tar.gz
Upgrade V8 to 3.1.7
Diffstat (limited to 'deps/v8/src/handles.cc')
-rw-r--r--deps/v8/src/handles.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/handles.cc b/deps/v8/src/handles.cc
index b48aa507e..8b2f95b52 100644
--- a/deps/v8/src/handles.cc
+++ b/deps/v8/src/handles.cc
@@ -863,10 +863,12 @@ bool CompileLazyInLoop(Handle<JSFunction> function,
}
-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);
}