OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "src/interpreter/interpreter.h" |
| 6 |
| 7 #include "src/flags.h" |
| 8 #include "src/ostreams.h" |
| 9 |
| 10 namespace v8 { |
| 11 namespace internal { |
| 12 namespace interpreter { |
| 13 |
| 14 void Interpreter::Initialize() { |
| 15 #ifdef V8_USE_SNAPSHOT |
| 16 if (FLAG_trace_ignition || FLAG_trace_ignition_codegen || |
| 17 FLAG_trace_ignition_dispatches) { |
| 18 OFStream os(stdout); |
| 19 os << "Warning: --trace-ignition-* flags must be passed at mksnapshot " |
| 20 << "time or used with nosnapshot builds." << std::endl; |
| 21 } |
| 22 #endif |
| 23 DCHECK(IsDispatchTableInitialized()); |
| 24 } |
| 25 |
| 26 } // namespace interpreter |
| 27 } // namespace internal |
| 28 } // namespace v8 |
OLD | NEW |