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

Side by Side Diff: test/cctest/wasm/test-run-wasm-interpreter.cc

Issue 2395743003: [wasm] Move test-signatures.h from test/cctest to test/common (Closed)
Patch Set: Delete old build file entries 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 | « test/cctest/wasm/test-run-wasm-asmjs.cc ('k') | test/cctest/wasm/test-run-wasm-js.cc » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 <stdint.h> 5 #include <stdint.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "src/wasm/wasm-macro-gen.h" 11 #include "src/wasm/wasm-macro-gen.h"
12 12
13 #include "src/wasm/wasm-interpreter.h" 13 #include "src/wasm/wasm-interpreter.h"
14 14
15 #include "test/cctest/cctest.h" 15 #include "test/cctest/cctest.h"
16 #include "test/cctest/compiler/value-helper.h" 16 #include "test/cctest/compiler/value-helper.h"
17 #include "test/cctest/wasm/test-signatures.h"
18 #include "test/cctest/wasm/wasm-run-utils.h" 17 #include "test/cctest/wasm/wasm-run-utils.h"
18 #include "test/common/wasm/test-signatures.h"
19 19
20 using namespace v8::base; 20 using namespace v8::base;
21 using namespace v8::internal; 21 using namespace v8::internal;
22 using namespace v8::internal::compiler; 22 using namespace v8::internal::compiler;
23 using namespace v8::internal::wasm; 23 using namespace v8::internal::wasm;
24 24
25 namespace v8 { 25 namespace v8 {
26 namespace internal { 26 namespace internal {
27 namespace wasm { 27 namespace wasm {
28 28
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 WasmRunner<int32_t> r(&module, MachineType::Uint32()); 329 WasmRunner<int32_t> r(&module, MachineType::Uint32());
330 module.AddMemory(WasmModule::kPageSize); 330 module.AddMemory(WasmModule::kPageSize);
331 BUILD(r, WASM_GROW_MEMORY(WASM_GET_LOCAL(0))); 331 BUILD(r, WASM_GROW_MEMORY(WASM_GET_LOCAL(0)));
332 CHECK_EQ(-1, r.Call(1048575)); 332 CHECK_EQ(-1, r.Call(1048575));
333 } 333 }
334 } 334 }
335 335
336 } // namespace wasm 336 } // namespace wasm
337 } // namespace internal 337 } // namespace internal
338 } // namespace v8 338 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/wasm/test-run-wasm-asmjs.cc ('k') | test/cctest/wasm/test-run-wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698