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

Side by Side Diff: src/compiler/wasm-compiler.cc

Issue 2657443003: [wasm] Fix the --wasm_code_fuzzer_gen_test again. (Closed)
Patch Set: More renaming Created 3 years, 10 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 | « no previous file | src/wasm/function-body-decoder.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/compiler/wasm-compiler.h" 5 #include "src/compiler/wasm-compiler.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "src/isolate-inl.h" 9 #include "src/isolate-inl.h"
10 10
(...skipping 3701 matching lines...) Expand 10 before | Expand all | Expand 10 after
3712 3712
3713 if (builder.has_simd() && !CpuFeatures::SupportsSimd128()) { 3713 if (builder.has_simd() && !CpuFeatures::SupportsSimd128()) {
3714 SimdScalarLowering(graph, machine, common, jsgraph_->zone(), function_->sig) 3714 SimdScalarLowering(graph, machine, common, jsgraph_->zone(), function_->sig)
3715 .LowerGraph(); 3715 .LowerGraph();
3716 } 3716 }
3717 3717
3718 int index = static_cast<int>(function_->func_index); 3718 int index = static_cast<int>(function_->func_index);
3719 3719
3720 if (index >= FLAG_trace_wasm_ast_start && index < FLAG_trace_wasm_ast_end) { 3720 if (index >= FLAG_trace_wasm_ast_start && index < FLAG_trace_wasm_ast_end) {
3721 OFStream os(stdout); 3721 OFStream os(stdout);
3722 PrintWasmCode(isolate_->allocator(), body, module_env_->module_env.module, 3722 PrintRawWasmCode(isolate_->allocator(), body,
3723 os, nullptr); 3723 module_env_->module_env.module);
3724 } 3724 }
3725 if (index >= FLAG_trace_wasm_text_start && index < FLAG_trace_wasm_text_end) { 3725 if (index >= FLAG_trace_wasm_text_start && index < FLAG_trace_wasm_text_end) {
3726 OFStream os(stdout); 3726 OFStream os(stdout);
3727 PrintWasmText(module_env_->module_env.module, module_env_->wire_bytes, 3727 PrintWasmText(module_env_->module_env.module, module_env_->wire_bytes,
3728 function_->func_index, os, nullptr); 3728 function_->func_index, os, nullptr);
3729 } 3729 }
3730 if (FLAG_trace_wasm_decode_time) { 3730 if (FLAG_trace_wasm_decode_time) {
3731 *decode_ms = decode_timer.Elapsed().InMillisecondsF(); 3731 *decode_ms = decode_timer.Elapsed().InMillisecondsF();
3732 } 3732 }
3733 return source_position_table; 3733 return source_position_table;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
3878 Smi::FromInt(instruction.instr_offset)); 3878 Smi::FromInt(instruction.instr_offset));
3879 fn_protected->set(Code::kTrapDataSize * i + Code::kTrapLandingOffset, 3879 fn_protected->set(Code::kTrapDataSize * i + Code::kTrapLandingOffset,
3880 Smi::FromInt(instruction.landing_offset)); 3880 Smi::FromInt(instruction.landing_offset));
3881 } 3881 }
3882 return fn_protected; 3882 return fn_protected;
3883 } 3883 }
3884 3884
3885 } // namespace compiler 3885 } // namespace compiler
3886 } // namespace internal 3886 } // namespace internal
3887 } // namespace v8 3887 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/wasm/function-body-decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698