| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/codegen.h" | 5 #include "src/codegen.h" |
| 6 | 6 |
| 7 #if defined(V8_OS_AIX) | 7 #if defined(V8_OS_AIX) |
| 8 #include <fenv.h> // NOLINT(build/c++11) | 8 #include <fenv.h> // NOLINT(build/c++11) |
| 9 #endif | 9 #endif |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| 11 #include "src/compiler.h" | 11 #include "src/compiler.h" |
| 12 #include "src/cpu-profiler.h" | |
| 13 #include "src/debug/debug.h" | 12 #include "src/debug/debug.h" |
| 14 #include "src/parser.h" | 13 #include "src/parser.h" |
| 15 #include "src/prettyprinter.h" | 14 #include "src/prettyprinter.h" |
| 15 #include "src/profiler/cpu-profiler.h" |
| 16 #include "src/rewriter.h" | 16 #include "src/rewriter.h" |
| 17 #include "src/runtime/runtime.h" | 17 #include "src/runtime/runtime.h" |
| 18 | 18 |
| 19 namespace v8 { | 19 namespace v8 { |
| 20 namespace internal { | 20 namespace internal { |
| 21 | 21 |
| 22 | 22 |
| 23 #if defined(_WIN64) | 23 #if defined(_WIN64) |
| 24 typedef double (*ModuloFunction)(double, double); | 24 typedef double (*ModuloFunction)(double, double); |
| 25 static ModuloFunction modulo_function = NULL; | 25 static ModuloFunction modulo_function = NULL; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 os << "source_position = " << literal->start_position() << "\n"; | 224 os << "source_position = " << literal->start_position() << "\n"; |
| 225 } | 225 } |
| 226 code->Disassemble(debug_name.get(), os); | 226 code->Disassemble(debug_name.get(), os); |
| 227 os << "--- End code ---\n"; | 227 os << "--- End code ---\n"; |
| 228 } | 228 } |
| 229 #endif // ENABLE_DISASSEMBLER | 229 #endif // ENABLE_DISASSEMBLER |
| 230 } | 230 } |
| 231 | 231 |
| 232 } // namespace internal | 232 } // namespace internal |
| 233 } // namespace v8 | 233 } // namespace v8 |
| OLD | NEW |