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

Unified Diff: src/interpreter/setup-interpreter-deserialize.cc

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: Created 3 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
Index: src/interpreter/setup-interpreter-deserialize.cc
diff --git a/src/interpreter/setup-interpreter-deserialize.cc b/src/interpreter/setup-interpreter-deserialize.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4aa19d159e1d241e144ff7ab9779e973080c8bf6
--- /dev/null
+++ b/src/interpreter/setup-interpreter-deserialize.cc
@@ -0,0 +1,28 @@
+// Copyright 2017 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "src/interpreter/interpreter.h"
+
+#include "src/flags.h"
+#include "src/ostreams.h"
+
+namespace v8 {
+namespace internal {
+namespace interpreter {
+
+void Interpreter::Initialize() {
+#ifdef V8_USE_SNAPSHOT
+ if (FLAG_trace_ignition || FLAG_trace_ignition_codegen ||
+ FLAG_trace_ignition_dispatches) {
+ OFStream os(stdout);
+ os << "Warning: --trace-ignition-* flags must be passed at mksnapshot "
+ << "time or used with nosnapshot builds." << std::endl;
+ }
+#endif
+ DCHECK(IsDispatchTableInitialized());
+}
+
+} // namespace interpreter
+} // namespace internal
+} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698