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

Side by Side Diff: test/cctest/wasm/wasm-run-utils.h

Issue 2360403003: Revert of Replaced different means of zone pooling/reusing by one zone segment pool (Closed)
Patch Set: Created 4 years, 3 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/zone/zone.cc ('k') | test/unittests/BUILD.gn » ('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 #ifndef WASM_RUN_UTILS_H 5 #ifndef WASM_RUN_UTILS_H
6 #define WASM_RUN_UTILS_H 6 #define WASM_RUN_UTILS_H
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
11
11 #include <memory> 12 #include <memory>
12 13
13 #include "src/base/utils/random-number-generator.h" 14 #include "src/base/utils/random-number-generator.h"
14 #include "src/zone/accounting-allocator.h" 15 #include "src/zone/accounting-allocator.h"
15 16
16 #include "src/compiler/graph-visualizer.h" 17 #include "src/compiler/graph-visualizer.h"
17 #include "src/compiler/int64-lowering.h" 18 #include "src/compiler/int64-lowering.h"
18 #include "src/compiler/js-graph.h" 19 #include "src/compiler/js-graph.h"
19 #include "src/compiler/node.h" 20 #include "src/compiler/node.h"
20 #include "src/compiler/pipeline.h" 21 #include "src/compiler/pipeline.h"
21 #include "src/compiler/wasm-compiler.h" 22 #include "src/compiler/wasm-compiler.h"
22 #include "src/compiler/zone-stats.h" 23 #include "src/compiler/zone-pool.h"
24
23 #include "src/wasm/ast-decoder.h" 25 #include "src/wasm/ast-decoder.h"
24 #include "src/wasm/wasm-interpreter.h" 26 #include "src/wasm/wasm-interpreter.h"
25 #include "src/wasm/wasm-js.h" 27 #include "src/wasm/wasm-js.h"
26 #include "src/wasm/wasm-macro-gen.h" 28 #include "src/wasm/wasm-macro-gen.h"
27 #include "src/wasm/wasm-module.h" 29 #include "src/wasm/wasm-module.h"
28 #include "src/wasm/wasm-opcodes.h" 30 #include "src/wasm/wasm-opcodes.h"
29 31
30 #include "src/zone/zone.h" 32 #include "src/zone/zone.h"
31 33
32 #include "test/cctest/cctest.h" 34 #include "test/cctest/cctest.h"
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 // interpreter. 776 // interpreter.
775 #define WASM_EXEC_TEST(name) \ 777 #define WASM_EXEC_TEST(name) \
776 void RunWasm_##name(WasmExecutionMode execution_mode); \ 778 void RunWasm_##name(WasmExecutionMode execution_mode); \
777 TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \ 779 TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \
778 TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \ 780 TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \
779 void RunWasm_##name(WasmExecutionMode execution_mode) 781 void RunWasm_##name(WasmExecutionMode execution_mode)
780 782
781 } // namespace 783 } // namespace
782 784
783 #endif 785 #endif
OLDNEW
« no previous file with comments | « src/zone/zone.cc ('k') | test/unittests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698