OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 // Required to get M_E etc. in MSVC. | 7 // Required to get M_E etc. in MSVC. |
8 #if defined(_WIN32) | 8 #if defined(_WIN32) |
9 #define _USE_MATH_DEFINES | 9 #define _USE_MATH_DEFINES |
10 #endif | 10 #endif |
11 #include <math.h> | 11 #include <math.h> |
12 | 12 |
13 #include "src/asmjs/asm-types.h" | 13 #include "src/asmjs/asm-types.h" |
14 #include "src/asmjs/asm-wasm-builder.h" | 14 #include "src/asmjs/asm-wasm-builder.h" |
15 #include "src/wasm/switch-logic.h" | 15 #include "src/asmjs/switch-logic.h" |
| 16 |
16 #include "src/wasm/wasm-macro-gen.h" | 17 #include "src/wasm/wasm-macro-gen.h" |
17 #include "src/wasm/wasm-opcodes.h" | 18 #include "src/wasm/wasm-opcodes.h" |
18 | 19 |
19 #include "src/ast/ast.h" | 20 #include "src/ast/ast.h" |
20 #include "src/ast/scopes.h" | 21 #include "src/ast/scopes.h" |
21 #include "src/codegen.h" | 22 #include "src/codegen.h" |
22 | 23 |
23 namespace v8 { | 24 namespace v8 { |
24 namespace internal { | 25 namespace internal { |
25 namespace wasm { | 26 namespace wasm { |
(...skipping 1860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1886 impl.builder_->WriteTo(*buffer); | 1887 impl.builder_->WriteTo(*buffer); |
1887 return buffer; | 1888 return buffer; |
1888 } | 1889 } |
1889 | 1890 |
1890 const char* AsmWasmBuilder::foreign_init_name = "__foreign_init__"; | 1891 const char* AsmWasmBuilder::foreign_init_name = "__foreign_init__"; |
1891 const char* AsmWasmBuilder::single_function_name = "__single_function__"; | 1892 const char* AsmWasmBuilder::single_function_name = "__single_function__"; |
1892 | 1893 |
1893 } // namespace wasm | 1894 } // namespace wasm |
1894 } // namespace internal | 1895 } // namespace internal |
1895 } // namespace v8 | 1896 } // namespace v8 |
OLD | NEW |