Chromium Code Reviews| Index: test/cctest/wasm/wasm-run-utils.h |
| diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
| index f855306763f36142b7e876bbb0ed461dc0ca5a38..9eca72b8d197f02e2f759810dd0d984e5a477d6f 100644 |
| --- a/test/cctest/wasm/wasm-run-utils.h |
| +++ b/test/cctest/wasm/wasm-run-utils.h |
| @@ -12,6 +12,7 @@ |
| #include "src/base/utils/random-number-generator.h" |
| #include "src/compiler/graph-visualizer.h" |
| +#include "src/compiler/int64-reducer.h" |
| #include "src/compiler/js-graph.h" |
| #include "src/compiler/wasm-compiler.h" |
| @@ -283,6 +284,13 @@ class WasmFunctionCompiler : public HandleAndZoneScope, |
| Handle<Code> Compile(ModuleEnv* module) { |
| descriptor_ = module->GetWasmCallDescriptor(this->zone(), env.sig); |
| CompilationInfo info("wasm compile", this->isolate(), this->zone()); |
| + |
| +#if !WASM_64 |
| + Int64Reducer r(this->graph(), this->machine(), this->common(), |
|
titzer
2016/02/02 10:14:35
I think you should move this use of the pipeline i
ahaas
2016/02/02 13:32:48
I call WasmCompiler::Int64LoweringForTesting now a
|
| + this->zone()); |
| + r.ReduceGraph(); |
| +#endif |
| + |
| Handle<Code> result = |
| Pipeline::GenerateCodeForTesting(&info, descriptor_, this->graph()); |
| #ifdef ENABLE_DISASSEMBLER |