Commit 67f451aa authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[wasm] Remove some dead and obsolete fields.

R=ahaas@chromium.org

Change-Id: I8db129e18dff445a3650a0d5c14da835aaa262d9
Reviewed-on: https://chromium-review.googlesource.com/1033742
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52889}
parent b2f1d583
......@@ -1516,7 +1516,6 @@ void WasmCompiledModule::WasmCompiledModuleVerify() {
VerifyObjectField(kOwningInstanceOffset);
VerifyObjectField(kWasmModuleOffset);
VerifyObjectField(kNativeModuleOffset);
VerifyObjectField(kLazyCompileDataOffset);
}
void WasmDebugInfo::WasmDebugInfoVerify() {
......
......@@ -152,7 +152,6 @@ class AsyncCompileJob {
std::unique_ptr<WasmModule> module_;
std::vector<DeferredHandles*> deferred_handles_;
Handle<WasmModuleObject> module_object_;
Handle<WasmCompiledModule> compiled_module_;
std::unique_ptr<CompileStep> step_;
......
......@@ -731,10 +731,6 @@ void WasmInstanceObject::SetRawMemory(byte* mem_start, uint32_t mem_size) {
set_memory_mask(mem_mask64);
}
WasmModuleObject* WasmInstanceObject::module_object() {
return compiled_module()->wasm_module();
}
WasmModule* WasmInstanceObject::module() {
return compiled_module()->shared()->module();
}
......
......@@ -314,7 +314,6 @@ class WasmInstanceObject : public JSObject {
WASM_INSTANCE_OBJECT_FIELDS)
#undef WASM_INSTANCE_OBJECT_FIELDS
WasmModuleObject* module_object();
V8_EXPORT_PRIVATE wasm::WasmModule* module();
static bool EnsureIndirectFunctionTableWithMinimumSize(
......@@ -500,7 +499,6 @@ class WasmCompiledModule : public Struct {
V(kOwningInstanceOffset, kPointerSize) \
V(kWasmModuleOffset, kPointerSize) \
V(kNativeModuleOffset, kPointerSize) \
V(kLazyCompileDataOffset, kPointerSize) \
V(kSize, 0)
DEFINE_FIELD_OFFSET_CONSTANTS(HeapObject::kHeaderSize,
......
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