Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: src/api.cc

Issue 1052003: Keep more track of whether code is from the built... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | src/globals.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
===================================================================
--- src/api.cc (revision 4145)
+++ src/api.cc (working copy)
@@ -1137,8 +1137,14 @@
pre_data_impl = NULL;
}
i::Handle<i::JSFunction> boilerplate =
- i::Compiler::Compile(str, name_obj, line_offset, column_offset, NULL,
- pre_data_impl, Utils::OpenHandle(*script_data));
+ i::Compiler::Compile(str,
+ name_obj,
+ line_offset,
+ column_offset,
+ NULL,
+ pre_data_impl,
+ Utils::OpenHandle(*script_data),
+ i::NOT_NATIVES_CODE);
has_pending_exception = boilerplate.is_null();
EXCEPTION_BAILOUT_CHECK(Local<Script>());
return Local<Script>(ToApi<Script>(boilerplate));
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | src/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698