Home
last modified time | relevance | path

Searched refs:has_pending_exception (Results 1 – 25 of 53) sorted by relevance

123

/third_party/node/deps/v8/src/api/
Dapi-macros.h54 bool has_pending_exception = false
63 bool has_pending_exception = false
120 if (has_pending_exception) { \
Dapi.cc2150 has_pending_exception = !ToLocal<Value>( in Run()
2399 has_pending_exception = !i::Module::Instantiate( in InstantiateModule()
2420 has_pending_exception = !ToLocal(i::Module::Evaluate(isolate, self), &result); in Evaluate()
2457 has_pending_exception = in SetSyntheticModuleExport()
2537 has_pending_exception = !maybe_function_info.ToHandle(&result); in CompileUnboundInternal()
2666 has_pending_exception = in CompileFunctionInternal()
2759 has_pending_exception = !maybe_sfi.ToHandle(&sfi); in Compile()
2760 if (has_pending_exception) isolate->ReportPendingMessages(); in Compile()
2779 has_pending_exception = !maybe_sfi.ToHandle(&sfi); in CompileModule()
2780 if (has_pending_exception) isolate->ReportPendingMessages(); in CompileModule()
[all …]
/third_party/node/deps/v8/src/wasm/
Dwasm-result.cc151 if (error() && !isolate_->has_pending_exception()) { in ~ErrorThrower()
162 !isolate()->has_pending_exception()); in ~ScheduledErrorThrower()
166 } else if (isolate()->has_pending_exception()) { in ~ScheduledErrorThrower()
Dwasm-js.cc280 promise_->GetIsolate()->has_pending_exception()); in OnCompilationSucceeded()
289 promise_->GetIsolate()->has_pending_exception()); in OnCompilationFailed()
322 promise_->GetIsolate()->has_pending_exception()); in OnInstantiationSucceeded()
329 promise_->GetIsolate()->has_pending_exception()); in OnInstantiationFailed()
382 CHECK_EQ(promise_result.is_null(), isolate_->has_pending_exception()); in OnInstantiationSucceeded()
388 CHECK_EQ(promise_result.is_null(), isolate_->has_pending_exception()); in OnInstantiationFailed()
449 CHECK_EQ(promise_result.is_null(), isolate_->has_pending_exception()); in OnCompilationFailed()
680 DCHECK(isolate->has_pending_exception()); in TransferPrototype()
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental.cc75 DCHECK(!isolate->has_pending_exception()); in CompileImpl()
116 DCHECK(isolate->has_pending_exception()); in Compile()
217 DCHECK(isolate->has_pending_exception()); in Exec()
254 DCHECK(isolate->has_pending_exception()); in Exec()
318 DCHECK(isolate->has_pending_exception()); in OneshotExec()
/third_party/node/deps/v8/src/execution/
Disolate-inl.h54 CHECK(has_pending_exception()); in pending_exception()
69 bool Isolate::has_pending_exception() { in has_pending_exception() function
Dmessages.cc120 if (isolate->has_pending_exception()) { in ReportMessage()
148 DCHECK(isolate->has_pending_exception()); in ReportMessage()
251 DCHECK(isolate->has_pending_exception()); in AppendErrorString()
260 DCHECK(isolate->has_pending_exception()); in AppendErrorString()
377 if (isolate->has_pending_exception()) { in FormatStackTrace()
426 DCHECK(isolate->has_pending_exception()); in Format()
563 DCHECK((isolate)->has_pending_exception()); in Construct()
680 DCHECK(isolate->has_pending_exception()); in DoFormatMessage()
Disolate.h172 DCHECK(!__isolate__->has_pending_exception()); \
183 DCHECK(!__isolate__->has_pending_exception()); \
236 DCHECK(__isolate__->has_pending_exception()); \
239 DCHECK(!__isolate__->has_pending_exception()); \
246 DCHECK((isolate)->has_pending_exception()); \
313 DCHECK((isolate)->has_pending_exception()); \
388 DCHECK((isolate)->has_pending_exception()); \
397 DCHECK(__isolate__->has_pending_exception()); \
776 inline bool has_pending_exception();
Dlocal-isolate.h90 bool has_pending_exception() const { return false; } in has_pending_exception() function
Dexecution.cc325 DCHECK(has_exception == isolate->has_pending_exception()); in Invoke()
454 DCHECK(has_exception == isolate->has_pending_exception()); in Invoke()
489 DCHECK(isolate->has_pending_exception()); in InvokeWithTryCatch()
Dv8threads.cc285 DCHECK(!isolate_->has_pending_exception()); in FreeThreadResources()
/third_party/node/deps/v8/src/runtime/
Druntime-proxy.cc58 DCHECK(isolate->has_pending_exception()); in RUNTIME_FUNCTION()
78 DCHECK(isolate->has_pending_exception()); in RUNTIME_FUNCTION()
Druntime-wasm.cc83 if (!isolate_->has_pending_exception()) { in ~ClearThreadInWasmScope()
142 DCHECK(!isolate->has_pending_exception()); in RUNTIME_FUNCTION()
226 DCHECK(isolate->has_pending_exception()); in RUNTIME_FUNCTION()
793 bool has_pending_exception = in RUNTIME_FUNCTION() local
798 CHECK(!has_pending_exception); in RUNTIME_FUNCTION()
Druntime-scopes.cc226 if (isolate->has_pending_exception()) return result; in RUNTIME_FUNCTION()
259 DCHECK(!isolate->has_pending_exception()); in DeclareEvalHelper()
641 if (isolate->has_pending_exception()) in RUNTIME_FUNCTION()
674 if (isolate->has_pending_exception()) return MaybeHandle<Object>(); in LoadLookupSlot()
777 if (isolate->has_pending_exception()) return MaybeHandle<Object>(); in StoreLookupSlot()
Druntime-strings.cc128 if (isolate->has_pending_exception()) in RUNTIME_FUNCTION()
136 if (isolate->has_pending_exception()) in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-async-module.cc19 DCHECK(isolate->has_pending_exception()); in BUILTIN()
Dbuiltins-shadow-realms.cc192 DCHECK(isolate->has_pending_exception()); in BUILTIN()
Dbuiltins-function.cc214 DCHECK(isolate->has_pending_exception()); in DoFunctionBind()
Dbuiltins-console.cc147 CHECK(!isolate->has_pending_exception()); in ConsoleCall()
/third_party/node/deps/v8/src/regexp/
Dregexp.cc212 DCHECK(!isolate->has_pending_exception()); in Compile()
287 DCHECK(isolate->has_pending_exception()); in EnsureFullyCompiled()
294 DCHECK(isolate->has_pending_exception()); in EnsureFullyCompiled()
679 isolate->has_pending_exception()); in IrregexpExecRaw()
705 isolate->has_pending_exception()); in IrregexpExecRaw()
761 DCHECK(isolate->has_pending_exception()); in IrregexpExec()
791 DCHECK(isolate->has_pending_exception()); in IrregexpExec()
1085 DCHECK(isolate->has_pending_exception()); in RegExpGlobalCache()
/third_party/node/deps/v8/src/objects/
Dsource-text-module.cc226 DCHECK(isolate->has_pending_exception()); in ResolveExport()
262 DCHECK_IMPLIES(isolate->has_pending_exception(), result.is_null()); in ResolveImport()
297 } else if (isolate->has_pending_exception()) { in ResolveExportUsingStarExports()
414 DCHECK(isolate->has_pending_exception()); in RunInitializationCode()
968 DCHECK(isolate->has_pending_exception()); in ExecuteAsyncModule()
Dcontexts.cc294 DCHECK(!isolate->has_pending_exception()); in Lookup()
599 DCHECK(isolate->has_pending_exception()); in RunPromiseHook()
Dvalue-serializer.cc1402 !isolate_->has_pending_exception()) { in ReadObjectWrapper()
1408 if (result.is_null() && !isolate_->has_pending_exception()) { in ReadObjectWrapper()
1434 !isolate_->has_pending_exception()) { in ReadObject()
2465 if (!isolate->has_pending_exception()) { in ThrowDeserializationExceptionIfNonePending()
2469 DCHECK(isolate->has_pending_exception()); in ThrowDeserializationExceptionIfNonePending()
/third_party/node/deps/v8/src/codegen/
Dcompiler.cc1015 DCHECK(!isolate->has_pending_exception()); in CompileTurbofan_NotConcurrent()
1102 DCHECK(!isolate->has_pending_exception()); in CompileTurbofan()
1127 if (isolate->has_pending_exception()) isolate->clear_pending_exception(); in CompileTurbofan()
1164 DCHECK(!isolate->has_pending_exception()); in CompileMaglev()
1315 if (!isolate->has_pending_exception()) { in FailWithPreparedPendingException()
1911 DCHECK(!isolate->has_pending_exception()); in CollectSourcePositions()
1973 DCHECK(!isolate->has_pending_exception()); in CollectSourcePositions()
1988 DCHECK(!isolate->has_pending_exception()); in Compile()
2054 DCHECK(!isolate->has_pending_exception()); in Compile()
2128 DCHECK(!isolate->has_pending_exception()); in Compile()
[all …]
/third_party/node/deps/v8/src/debug/
Ddebug-interface.cc844 has_pending_exception = !maybe_function_info.ToHandle(&result); in CompileInspectorScript()
1027 has_pending_exception = !ToLocal<Value>( in CallFunctionOn()
1043 has_pending_exception = !ToLocal<Value>( in EvaluateGlobal()
1058 has_pending_exception = !ToLocal<Value>( in EvaluateGlobalForTesting()
1334 DCHECK(isolate->has_pending_exception()); in Create()
1353 DCHECK(isolate_->has_pending_exception()); in Advance()

123