[multi-return-fuzzer] Fix clusterfuzz issue in test
Change-Id: I20ee0d411155e23d87c731f0d909b14c55088c4c R=ahaas@chromium.org Also-By: ahaas@chromium.org Bug: chromium:892435 Change-Id: I70ca2982ea0ddc39fecfbab983a7295707fe8873 Reviewed-on: https://chromium-review.googlesource.com/c/1264283 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#56407}
This commit is contained in:
parent
e04030979c
commit
b79147d5f2
@ -241,8 +241,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
}
|
||||
callee.Return(static_cast<int>(desc->ReturnCount()), returns.get());
|
||||
|
||||
OptimizedCompilationInfo info(ArrayVector("testing"), &zone,
|
||||
Code::WASM_FUNCTION);
|
||||
OptimizedCompilationInfo info(ArrayVector("testing"), &zone, Code::STUB);
|
||||
Handle<Code> code = Pipeline::GenerateCodeForTesting(
|
||||
&info, i_isolate, desc, callee.graph(),
|
||||
AssemblerOptions::Default(i_isolate), callee.Export())
|
||||
@ -286,7 +285,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
|
||||
// Call the wrapper.
|
||||
OptimizedCompilationInfo wrapper_info(ArrayVector("wrapper"), &zone,
|
||||
Code::JS_TO_WASM_FUNCTION);
|
||||
Code::STUB);
|
||||
Handle<Code> wrapper_code =
|
||||
Pipeline::GenerateCodeForTesting(
|
||||
&wrapper_info, i_isolate, wrapper_desc, caller.graph(),
|
||||
|
Loading…
Reference in New Issue
Block a user