Lines Matching refs:thrower
485 Isolate* isolate, ErrorThrower* thrower, const ModuleWireBytes& bytes, in SyncCompileTranslatedAsmJs() argument
516 isolate, WasmFeatures::ForAsmjs(), thrower, std::move(result).value(), in SyncCompileTranslatedAsmJs()
537 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower, in SyncCompile() argument
548 thrower->CompileFailed(result.error()); in SyncCompile()
556 isolate, enabled, thrower, std::move(result).value(), bytes, in SyncCompile()
590 Isolate* isolate, ErrorThrower* thrower, in SyncInstantiate() argument
594 return InstantiateToInstanceObject(isolate, thrower, module_object, imports, in SyncInstantiate()
601 ErrorThrower thrower(isolate, "WebAssembly.instantiate()"); in AsyncInstantiate() local
612 isolate, &thrower, module_object, imports, Handle<JSArrayBuffer>::null()); in AsyncInstantiate()
626 thrower.Reset(); in AsyncInstantiate()
628 DCHECK(thrower.error()); in AsyncInstantiate()
629 resolver->OnInstantiationFailed(thrower.Reify()); in AsyncInstantiate()
642 ErrorThrower thrower(isolate, api_method_name_for_errors); in AsyncCompile() local
649 module_object = SyncCompile(isolate, enabled, &thrower, bytes_copy); in AsyncCompile()
652 module_object = SyncCompile(isolate, enabled, &thrower, bytes); in AsyncCompile()
654 if (thrower.error()) { in AsyncCompile()
655 resolver->OnCompilationFailed(thrower.Reify()); in AsyncCompile()