| 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 "v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "codegen.h" | 8 #include "src/codegen.h" |
| 9 #include "compiler.h" | 9 #include "src/compiler.h" |
| 10 #include "cpu-profiler.h" | 10 #include "src/cpu-profiler.h" |
| 11 #include "debug.h" | 11 #include "src/debug.h" |
| 12 #include "prettyprinter.h" | 12 #include "src/prettyprinter.h" |
| 13 #include "rewriter.h" | 13 #include "src/rewriter.h" |
| 14 #include "runtime.h" | 14 #include "src/runtime.h" |
| 15 #include "stub-cache.h" | 15 #include "src/stub-cache.h" |
| 16 | 16 |
| 17 namespace v8 { | 17 namespace v8 { |
| 18 namespace internal { | 18 namespace internal { |
| 19 | 19 |
| 20 | 20 |
| 21 #if defined(_WIN64) | 21 #if defined(_WIN64) |
| 22 typedef double (*ModuloFunction)(double, double); | 22 typedef double (*ModuloFunction)(double, double); |
| 23 static ModuloFunction modulo_function = NULL; | 23 static ModuloFunction modulo_function = NULL; |
| 24 // Defined in codegen-x64.cc. | 24 // Defined in codegen-x64.cc. |
| 25 ModuloFunction CreateModuloFunction(); | 25 ModuloFunction CreateModuloFunction(); |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 ASSERT(result_size_ == 1 || result_size_ == 2); | 262 ASSERT(result_size_ == 1 || result_size_ == 2); |
| 263 #ifdef _WIN64 | 263 #ifdef _WIN64 |
| 264 return result | ((result_size_ == 1) ? 0 : 2); | 264 return result | ((result_size_ == 1) ? 0 : 2); |
| 265 #else | 265 #else |
| 266 return result; | 266 return result; |
| 267 #endif | 267 #endif |
| 268 } | 268 } |
| 269 | 269 |
| 270 | 270 |
| 271 } } // namespace v8::internal | 271 } } // namespace v8::internal |
| OLD | NEW |