Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: src/asmjs/asm-wasm-builder.cc

Issue 2408823002: [asmjs] Move switch-logic.h to asmjs/ directory. (Closed)
Patch Set: [asmjs] Move switch-logic.h to asmjs/ directory. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | src/asmjs/switch-logic.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/asmjs/switch-logic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698