[wasm] Flag WASM code sections as such in the tests
This makes them show up in the stack trace. Otherwise the stack frames are identified as type STUB, and skipped by the iterator. R=ahaas@chromium.org, jfb@chromium.org, titzer@chromium.org BUG= Review URL: https://codereview.chromium.org/1878573003 Cr-Commit-Position: refs/heads/master@{#35621}
This commit is contained in:
parent
39939eebf8
commit
3e5f45b64b
@ -474,7 +474,8 @@ class WasmFunctionCompiler : public HandleAndZoneScope,
|
||||
if (kPointerSize == 4) {
|
||||
desc = testing_module_->GetI32WasmCallDescriptor(this->zone(), desc);
|
||||
}
|
||||
CompilationInfo info("wasm compile", this->isolate(), this->zone());
|
||||
CompilationInfo info("wasm compile", this->isolate(), this->zone(),
|
||||
Code::ComputeFlags(Code::WASM_FUNCTION));
|
||||
Handle<Code> result =
|
||||
Pipeline::GenerateCodeForTesting(&info, desc, this->graph());
|
||||
#ifdef ENABLE_DISASSEMBLER
|
||||
|
Loading…
Reference in New Issue
Block a user