Commit b8870137 authored by ritesht's avatar ritesht Committed by Commit bot

Revert "[wasm] Adding a convolution matrix filter test to highlight the...

Revert "[wasm] Adding a convolution matrix filter test to highlight the performance advantages of JITing"

GC-Stress asserts in filter-jit.

This reverts commit ccfd224e.

BUG=v8:5044
R=bradnelson@chromium.org

Review-Url: https://codereview.chromium.org/2168343002
Cr-Commit-Position: refs/heads/master@{#37961}
parent 0145ba86
......@@ -152,18 +152,11 @@ RUNTIME_FUNCTION(Runtime_JITSingleFunction) {
Handle<JSArrayBuffer> mem_buffer = Handle<JSArrayBuffer>::cast(obj);
wasm::ErrorThrower thrower(isolate, "JITSingleFunction");
wasm::WasmModule module(reinterpret_cast<byte*>(mem_buffer->backing_store()));
wasm::WasmModuleInstance instance(&module);
instance.context = isolate->native_context();
instance.mem_size =
static_cast<uint32_t>(mem_buffer->byte_length()->Number());
instance.mem_start = reinterpret_cast<byte*>(mem_buffer->backing_store());
instance.globals_start = nullptr;
wasm::ErrorThrower thrower(isolate, "JITSingleFunction");
wasm::ModuleEnv module_env;
module_env.module = &module;
module_env.instance = &instance;
module_env.instance = nullptr;
module_env.origin = wasm::kWasmOrigin;
uint32_t signature_size = args.length() - fixed_args;
......
......@@ -17,6 +17,7 @@
#include "src/ostreams.h"
#include "src/compiler/wasm-compiler.h"
namespace v8 {
namespace internal {
namespace wasm {
......@@ -1037,9 +1038,8 @@ class WasmFullDecoder : public WasmDecoder {
BUILD(JITSingleFunction, base.node, length.node, index.node,
operand.sig_index, operand.sig, position());
Push(kAstI32, call);
break;
}
len = 1 + operand.length;
break;
}
}
default:
......
This diff is collapsed.
......@@ -70,7 +70,6 @@ var kArity0 = 0;
var kArity1 = 1;
var kArity2 = 2;
var kArity3 = 3;
var kArity4 = 4;
var kWasmFunctionTypeForm = 0x40;
var section_names = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment