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

Unified Diff: src/compiler.cc

Issue 1670923003: [bootstrapper] extra natives must not use natives syntax. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 4 years, 10 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 354542d56e3f44ff14420659726a56a493499aee..9349ad159bcec998b0adc04d0a43c9deb0e85f56 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1471,6 +1471,9 @@ Handle<SharedFunctionInfo> Compiler::CompileScript(
if (natives == NATIVES_CODE) {
script->set_type(Script::TYPE_NATIVE);
script->set_hide_source(true);
+ } else if (natives == EXTENSION_CODE) {
+ script->set_type(Script::TYPE_EXTENSION);
+ script->set_hide_source(true);
}
if (!script_name.is_null()) {
script->set_name(*script_name);

Powered by Google App Engine
This is Rietveld 408576698