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 |