| Index: src/wasm/wasm-objects.h
|
| diff --git a/src/wasm/wasm-objects.h b/src/wasm/wasm-objects.h
|
| index b7c92dfd56b0a52c2ed1a5bcd54b77ee4e2c817b..ee8915317c3eb00c369edd932afe0a607480aa84 100644
|
| --- a/src/wasm/wasm-objects.h
|
| +++ b/src/wasm/wasm-objects.h
|
| @@ -194,21 +194,11 @@ class WasmInstanceObject : public JSObject {
|
| // A WASM function that is wrapped and exported to JavaScript.
|
| class WasmExportedFunction : public JSFunction {
|
| public:
|
| - DECL_OOL_QUERY(WasmExportedFunction)
|
| - DECL_OOL_CAST(WasmExportedFunction)
|
| + WasmInstanceObject* instance();
|
| + int function_index();
|
|
|
| - DECL_ACCESSORS(instance, WasmInstanceObject)
|
| - DECL_INT_ACCESSORS(function_index)
|
| -
|
| - enum { // --
|
| - kInstanceIndex,
|
| - kFunctionIndexIndex,
|
| - kFieldCount
|
| - };
|
| -
|
| - static const int kSize = JSFunction::kSize + kFieldCount * kPointerSize;
|
| - DEF_OFFSET(Instance)
|
| - DEF_OFFSET(FunctionIndex)
|
| + static WasmExportedFunction* cast(Object* object);
|
| + static bool IsWasmExportedFunction(Object* object);
|
|
|
| static Handle<WasmExportedFunction> New(Isolate* isolate,
|
| Handle<WasmInstanceObject> instance,
|
| @@ -699,10 +689,6 @@ ACCESSORS(WasmInstanceObject, debug_info, WasmDebugInfo, kDebugInfoOffset)
|
| ACCESSORS(WasmInstanceObject, directly_called_instances, FixedArray,
|
| kDirectlyCalledInstancesOffset)
|
|
|
| -// WasmExportedFunction
|
| -ACCESSORS(WasmExportedFunction, instance, WasmInstanceObject, kInstanceOffset)
|
| -SMI_ACCESSORS(WasmExportedFunction, function_index, kFunctionIndexOffset)
|
| -
|
| // WasmSharedModuleData
|
| ACCESSORS(WasmSharedModuleData, module_bytes, SeqOneByteString,
|
| kModuleBytesOffset)
|
|
|