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

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

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 5 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 | « src/asmjs/asm-wasm-builder.h ('k') | src/asmjs/typing-asm.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/wasm/asm-wasm-builder.h" 13 #include "src/asmjs/asm-wasm-builder.h"
14 #include "src/wasm/switch-logic.h" 14 #include "src/wasm/switch-logic.h"
15 #include "src/wasm/wasm-macro-gen.h" 15 #include "src/wasm/wasm-macro-gen.h"
16 #include "src/wasm/wasm-opcodes.h" 16 #include "src/wasm/wasm-opcodes.h"
17 17
18 #include "src/ast/ast.h" 18 #include "src/ast/ast.h"
19 #include "src/ast/scopes.h" 19 #include "src/ast/scopes.h"
20 #include "src/codegen.h" 20 #include "src/codegen.h"
21 #include "src/type-cache.h" 21 #include "src/type-cache.h"
22 22
23 namespace v8 { 23 namespace v8 {
(...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 AsmWasmBuilderImpl impl(isolate_, zone_, literal_, typer_); 1776 AsmWasmBuilderImpl impl(isolate_, zone_, literal_, typer_);
1777 impl.Build(); 1777 impl.Build();
1778 *foreign_args = impl.GetForeignArgs(); 1778 *foreign_args = impl.GetForeignArgs();
1779 ZoneBuffer* buffer = new (zone_) ZoneBuffer(zone_); 1779 ZoneBuffer* buffer = new (zone_) ZoneBuffer(zone_);
1780 impl.builder_->WriteTo(*buffer); 1780 impl.builder_->WriteTo(*buffer);
1781 return buffer; 1781 return buffer;
1782 } 1782 }
1783 } // namespace wasm 1783 } // namespace wasm
1784 } // namespace internal 1784 } // namespace internal
1785 } // namespace v8 1785 } // namespace v8
OLDNEW
« no previous file with comments | « src/asmjs/asm-wasm-builder.h ('k') | src/asmjs/typing-asm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698