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

Unified Diff: src/compiler.cc

Issue 20646006: Pipe a script's CORS status through V8 during compilation. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@master
Patch Set: rebaseline. Created 7 years, 5 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
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index f4112d7e96142e39fea58a62bd56fce79c34f6cf..c6f2c9eb84abaa7dd92f1dea1c17f93c876a7f10 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -667,6 +667,7 @@ Handle<SharedFunctionInfo> Compiler::Compile(Handle<String> source,
Handle<Object> script_name,
int line_offset,
int column_offset,
+ bool passed_access_check,
Handle<Context> context,
v8::Extension* extension,
ScriptDataImpl* pre_data,
@@ -712,6 +713,7 @@ Handle<SharedFunctionInfo> Compiler::Compile(Handle<String> source,
script->set_line_offset(Smi::FromInt(line_offset));
script->set_column_offset(Smi::FromInt(column_offset));
}
+ script->set_passed_access_check(passed_access_check);
script->set_data(script_data.is_null() ? HEAP->undefined_value()
: *script_data);

Powered by Google App Engine
This is Rietveld 408576698