Lines Matching defs:thrower
1071 void SetCompileError(ErrorThrower* thrower, ModuleWireBytes wire_bytes,
1076 thrower->CompileError("Compiling function #%d failed: %s @+%u",
1081 thrower->CompileError("Compiling function #%d:\"%.*s\" failed: %s @+%u",
1108 AccountingAllocator* allocator, ErrorThrower* thrower, bool lazy_module,
1110 DCHECK(!thrower->error());
1131 SetCompileError(thrower, wire_bytes, func, module, result.error());
1195 ErrorThrower thrower(isolate, nullptr);
1202 SetCompileError(&thrower, ModuleWireBytes(native_module->wire_bytes()),
1807 ErrorThrower* thrower, const WasmModule* wasm_module,
1820 isolate->allocator(), thrower, lazy_module,
1823 if (thrower->error()) return;
1847 isolate->allocator(), thrower, lazy_module);
1848 CHECK(thrower->error());
1863 isolate->allocator(), thrower, lazy_module);
1864 CHECK(thrower->error());
1903 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower,
1946 CompileNativeModule(isolate, context_id, thrower, wasm_module, native_module,
1948 bool cache_hit = !engine->UpdateNativeModuleCache(thrower->error(),
1950 if (thrower->error()) return {};
2259 ErrorThrower thrower(isolate_, api_method_name_);
2260 thrower.CompileFailed(error);
2264 resolver_->OnCompilationFailed(thrower.Reify());
2268 ErrorThrower thrower(isolate_, api_method_name_);
2272 isolate_->counters(), isolate_->allocator(), &thrower,
2274 DCHECK(thrower.error());
2278 resolver_->OnCompilationFailed(thrower.Reify());