/ark/runtime_core/docs/bc_verification/ |
D | cflow_checks.md | 10 exception 19 exception 36 The layout of exception handlers is quite flexible, even nesting of a handler in another handler is… 49 exception 68 exception 86 exception 103 ### Code to exception handler 117 exception 135 exception 142 …ition is allowed. Neither `jmp` nor fallthrough at the beginning of the exception handler is allow… [all …]
|
D | absint_checks.md | 23 ### Checks of exception handlers 25 This type of checks ensure correctness of context on exception handler entry. 27 The checks can help to detect usage of inconsistent information in registers in exception handlers. 33 … code, so verifier should be able to detect such situations in which an exception is always thrown.
|
/ark/js_runtime/ecmascript/tooling/test/utils/ |
D | test_hooks.h | 63 if (test_->exception) { in Exception() 64 Local<JSValueRef> exception = DebuggerApi::GetAndClearException(vm_); in Exception() local 66 test_->exception(location); in Exception() 68 if (!exception->IsHole()) { in Exception() 69 DebuggerApi::SetException(vm_, exception); in Exception()
|
D | test_events.h | 50 ExceptionCallback exception; member
|
/ark/runtime_core/tests/cts-generator/runner/ |
D | runner.rb | 24 def self.print_exception(exception) argument 25 puts "Exception: exception class : #{exception.class}" 26 puts " exception message : #{exception.message}" 27 exception.backtrace.each do |t|
|
/ark/runtime_core/verification/cflow/ |
D | cflow_info.cpp | 113 auto &exception = catch_block.exception_type; in DebugDump() local 118 …CacheOfRuntimeThings::IsDescriptor(exception) && !CacheOfRuntimeThings::GetDescriptor(exception).I… in DebugDump() 121 CacheOfRuntimeThings::IsRef(exception) ? &CacheOfRuntimeThings::GetRef(exception) : nullptr; in DebugDump() 160 auto &exception = catch_block.exception_type; in ProcessCatchBlocks() local 165 … CacheOfRuntimeThings::IsRef(exception) ? &CacheOfRuntimeThings::GetRef(exception) : nullptr; in ProcessCatchBlocks()
|
/ark/ts2abc/ts2panda/src/function/ |
D | asyncFunctionBuilder.ts | 110 let exception = pandaGen.getTemp(); 112 pandaGen.storeAccumulator(NodeKind.Invalid, exception); 113 …ionReject(NodeKind.Invalid, this.asyncObj, getVregisterCache(pandaGen, CacheList.True), exception); 116 pandaGen.freeTemps(exception);
|
/ark/runtime_core/verification/verifier/ |
D | verifier.config | 12 error-in-exception-handler 13 permanent-runtime-exception
|
/ark/runtime_core/tests/cts-generator/ |
D | verifier.debug.config | 10 error-in-exception-handler 11 permanent-runtime-exception
|
/ark/runtime_core/runtime/templates/ |
D | intrinsics.yaml.erb | 37 exception: <%= intrinsic.respond_to?(:exception) && intrinsic.exception %>
|
/ark/runtime_core/runtime/ |
D | panda_vm.cpp | 52 auto *exception = thread->GetException(); in InvokeEntrypoint() local 53 HandleUncaughtException(exception); in InvokeEntrypoint()
|
D | exceptions.cpp | 202 NO_ADDRESS_SANITIZE void FindCatchBlockInCFrames([[maybe_unused]] ObjectHeader *exception, in FindCatchBlockInCFrames() argument 208 NO_ADDRESS_SANITIZE void FindCatchBlockInCallStack(ObjectHeader *exception) in FindCatchBlockInCallStack() argument 225 FindCatchBlockInCFrames(exception, &stack, orig_frame); in FindCatchBlockInCallStack()
|
/ark/runtime_core/runtime/include/ |
D | exceptions.h | 73 void FindCatchBlockInCallStack(ObjectHeader *exception); 75 void FindCatchBlockInCFrames(ObjectHeader *exception, StackWalker *stack, Frame *orig_frame);
|
/ark/runtime_core/runtime/tests/ |
D | interpreter_test.cpp | 172 ObjectHeader *exception = ObjectHeader::Create(cls); in CreateException() local 173 return exception; in CreateException() 758 ObjectHeader *exception = CreateException(thread); in TestBinOp2() local 761 thread->SetException(exception); in TestBinOp2() 771 ASSERT_EQ(f->GetAcc().GetReference(), exception) << ss.str(); in TestBinOp2() 930 ObjectHeader *exception = CreateException(thread); in TestBinOp() local 933 thread->SetException(exception); in TestBinOp() 943 ASSERT_EQ(f->GetAcc().GetReference(), exception); in TestBinOp() 1040 ObjectHeader *exception = CreateException(thread); in TestBinOpImm() local 1043 thread->SetException(exception); in TestBinOpImm() [all …]
|
/ark/runtime_core/verification/absint/ |
D | absint.cpp | 216 const auto *exception = exc_handler.CachedException; in VerifyMethod() local 222 << (exception == nullptr ? PandaString {""} in VerifyMethod() 223 … : PandaString {", for exception '"} + exception->GetName() + "' ") in VerifyMethod() 231 if (exception != nullptr) { in VerifyMethod()
|
/ark/js_runtime/ecmascript/tooling/ |
D | protocol_handler.cpp | 75 auto exception = DebuggerApi::GetAndClearException(vm_); in ProcessCommand() local 77 DebuggerApi::SetException(vm_, exception); in ProcessCommand()
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_generator.cpp | 89 JSHandle<JSTaggedValue> exception = GetCallArg(argv, 0); in GeneratorPrototypeThrow() local 92 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
|
/ark/js_runtime/ecmascript/tooling/backend/ |
D | debugger_api.cpp | 139 auto exception = ecmaVm->GetJSThread()->GetException(); in GetAndClearException() local 140 JSHandle<JSTaggedValue> handledException(ecmaVm->GetJSThread(), exception); in GetAndClearException() 145 void DebuggerApi::SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception) in SetException() argument 147 ecmaVm->GetJSThread()->SetException(JSNApiHelper::ToJSTaggedValue(*exception)); in SetException()
|
D | debugger_executor.cpp | 127 Local<JSValueRef> exception = Exception::ReferenceError(vm, msg); in ThrowException() local 128 JSNApi::ThrowException(vm, exception); in ThrowException()
|
/ark/ts2abc/ts2panda/src/ |
D | compilerUtils.ts | 61 let exception = pandaGen.getTemp(); 178 pandaGen.storeAccumulator(arr, exception); 180 pandaGen.loadAccumulator(arr, exception); 189 pandaGen.freeTemps(iter, nextMethod, iterDone, iterValue, nextResult, exception);
|
/ark/js_runtime/ecmascript/ |
D | js_plural_rules.cpp | 267 JSHandle<JSTaggedValue> exception(thread, JSTaggedValue::Exception()); in FormatNumericToString() local 268 …OW_RANGE_ERROR_AND_RETURN(thread, "invalid resolve number", JSHandle<EcmaString>::Cast(exception)); in FormatNumericToString() 273 JSHandle<JSTaggedValue> exception(thread, JSTaggedValue::Exception()); in FormatNumericToString() local 274 …OW_RANGE_ERROR_AND_RETURN(thread, "invalid resolve number", JSHandle<EcmaString>::Cast(exception)); in FormatNumericToString()
|
/ark/runtime_core/tests/verifier-tests/ |
D | cflow_jump_on_exc_handler_from_body.pa | 15 # jump on exception handler with ordinary jump
|
D | bug_3228.pa | 29 ldai 2 # Unexpected exception, test failed
|
/ark/runtime_core/tests/cts-assembly/ |
D | exceptions-04.pa | 22 # check exception from ctor
|
D | initobj-bad-02.pa | 33 ldai 2 # Unexpected exception, test failed
|