Lines Matching refs:Handle
54 static Handle<WasmModuleObject> New(
55 Isolate* isolate, Handle<WasmCompiledModule> compiled_module);
72 static Handle<WasmTableObject> New(Isolate* isolate, uint32_t initial,
74 Handle<FixedArray>* js_functions);
75 static void Grow(Isolate* isolate, Handle<WasmTableObject> table,
77 static Handle<FixedArray> AddDispatchTable(
78 Isolate* isolate, Handle<WasmTableObject> table,
79 Handle<WasmInstanceObject> instance, int table_index,
80 Handle<FixedArray> function_table, Handle<FixedArray> signature_table);
93 void AddInstance(Isolate* isolate, Handle<WasmInstanceObject> object);
99 static Handle<WasmMemoryObject> New(Isolate* isolate,
100 Handle<JSArrayBuffer> buffer,
103 static bool Grow(Isolate* isolate, Handle<WasmMemoryObject> memory,
135 static Handle<WasmDebugInfo> GetOrCreateDebugInfo(
136 Handle<WasmInstanceObject> instance);
138 static Handle<WasmInstanceObject> New(
139 Isolate* isolate, Handle<WasmCompiledModule> compiled_module);
152 static Handle<WasmExportedFunction> New(Isolate* isolate,
153 Handle<WasmInstanceObject> instance,
156 Handle<Code> export_wrapper);
179 static Handle<WasmSharedModuleData> New(
180 Isolate* isolate, Handle<Foreign> module_wrapper,
181 Handle<SeqOneByteString> module_bytes, Handle<Script> script,
182 Handle<ByteArray> asm_js_offset_table);
188 Handle<WasmSharedModuleData>);
190 static void AddBreakpoint(Handle<WasmSharedModuleData>, int position,
191 Handle<Object> break_point_object);
193 static void SetBreakpointsOnNewInstance(Handle<WasmSharedModuleData>,
194 Handle<WasmInstanceObject>);
207 Handle<TYPE> NAME() const { return handle(ptr_to_##NAME()); } \
226 void set_##NAME(Handle<TYPE> value) { set_ptr_to_##NAME(*value); } \
252 Handle<TYPE> NAME() const { \
253 return handle(TYPE::cast(weak_##NAME()->value())); \
292 static Handle<WasmCompiledModule> New(Isolate* isolate,
293 Handle<WasmSharedModuleData> shared);
295 static Handle<WasmCompiledModule> Clone(Isolate* isolate,
296 Handle<WasmCompiledModule> module) {
297 Handle<WasmCompiledModule> ret = Handle<WasmCompiledModule>::cast(
328 Handle<WasmCompiledModule>);
331 // Returns a null handle if the function is unnamed or the name is not a valid
334 Isolate* isolate, Handle<WasmCompiledModule> compiled_module,
340 static Handle<String> GetFunctionName(
341 Isolate* isolate, Handle<WasmCompiledModule> compiled_module,
367 static int GetAsmJsSourcePosition(Handle<WasmCompiledModule> compiled_module,
379 // Returns a null handle if the respective bytes do not form a valid UTF-8
382 Isolate* isolate, Handle<WasmCompiledModule> compiled_module,
396 static bool SetBreakPoint(Handle<WasmCompiledModule>, int* position,
397 Handle<Object> break_point_object);
399 // Return an empty handle if no breakpoint is hit at that location, or a
418 static Handle<WasmDebugInfo> New(Handle<WasmInstanceObject>);
426 static void SetBreakpoint(Handle<WasmDebugInfo>, int func_index, int offset);
430 static void RedirectToInterpreter(Handle<WasmDebugInfo>, int func_index);
452 static Handle<WasmInstanceWrapper> New(Isolate* isolate,
453 Handle<WasmInstanceObject> instance);
460 Handle<WasmInstanceObject> instance_object() {
465 return handle(WasmInstanceObject::cast(cell->value()));
479 Handle<WasmInstanceWrapper> next_wrapper() {
482 return handle(WasmInstanceWrapper::cast(obj));
484 Handle<WasmInstanceWrapper> previous_wrapper() {
487 return handle(WasmInstanceWrapper::cast(obj));