Home
last modified time | relevance | path

Searched full:exception (Results 1 – 25 of 243) sorted by relevance

12345678910

/ark/runtime_core/docs/bc_verification/
Dcflow_checks.md10 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 …]
Dabsint_checks.md23 ### 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/builtins/
Dbuiltins_dataview.cpp36 // 1. If NewTarget is undefined, throw a TypeError exception. in DataViewConstructor()
38 THROW_TYPE_ERROR_AND_RETURN(thread, "newtarget is undefined", JSTaggedValue::Exception()); in DataViewConstructor()
41 // 2. If Type(buffer) is not Object, throw a TypeError exception. in DataViewConstructor()
43 THROW_TYPE_ERROR_AND_RETURN(thread, "buffer is not Object", JSTaggedValue::Exception()); in DataViewConstructor()
45 // 3. If buffer does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in DataViewConstructor()
47 … THROW_TYPE_ERROR_AND_RETURN(thread, "buffer is not ArrayBuffer", JSTaggedValue::Exception()); in DataViewConstructor()
55 // 7. If numberOffset ≠ offset or offset < 0, throw a RangeError exception. in DataViewConstructor()
57 THROW_RANGE_ERROR_AND_RETURN(thread, "Offset out of range", JSTaggedValue::Exception()); in DataViewConstructor()
60 // 8. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. in DataViewConstructor()
62 … THROW_TYPE_ERROR_AND_RETURN(thread, "buffer is Detached Buffer", JSTaggedValue::Exception()); in DataViewConstructor()
[all …]
Dbuiltins_reflect.cpp28 // 1. If IsCallable(target) is false, throw a TypeError exception. in ReflectApply()
31 …_TYPE_ERROR_AND_RETURN(thread, "Reflect.apply target is not callable", JSTaggedValue::Exception()); in ReflectApply()
54 // 1. If IsConstructor(target) is false, throw a TypeError exception. in ReflectConstruct()
57 …RROR_AND_RETURN(thread, "Reflect.construct target is not constructor", JSTaggedValue::Exception()); in ReflectConstruct()
62 // 3. Else if IsConstructor(newTarget) is false, throw a TypeError exception. in ReflectConstruct()
65 JSTaggedValue::Exception()); in ReflectConstruct()
85 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDefineProperty()
88 …RROR_AND_RETURN(thread, "Reflect.defineProperty target is not object", JSTaggedValue::Exception()); in ReflectDefineProperty()
109 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDeleteProperty()
112 …RROR_AND_RETURN(thread, "Reflect.deleteProperty target is not object", JSTaggedValue::Exception()); in ReflectDeleteProperty()
[all …]
Dbuiltins_map.cpp33 // 1.If NewTarget is undefined, throw a TypeError exception in MapConstructor()
37 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in MapConstructor()
58 THROW_TYPE_ERROR_AND_RETURN(thread, "iterable is not object", JSTaggedValue::Exception()); in MapConstructor()
65 // If IsCallable(adder) is false, throw a TypeError exception in MapConstructor()
133 // 2.If Type(S) is not Object, throw a TypeError exception. in Set()
134 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Set()
136 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Set()
155 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear()
156 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Clear()
158 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Clear()
[all …]
Dbuiltins_set.cpp35 // 1.If NewTarget is undefined, throw a TypeError exception in SetConstructor()
39 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in SetConstructor()
66 // If IsCallable(adder) is false, throw a TypeError exception in SetConstructor()
112 // 2.If Type(S) is not Object, throw a TypeError exception. in Add()
113 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Add()
115 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Add()
133 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear()
134 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Clear()
136 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Clear()
150 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete()
[all …]
Dbuiltins_symbol.cpp37 // 1.If NewTarget is not undefined, throw a TypeError exception. in SymbolConstructor()
42 JSTaggedValue::Exception()); in SymbolConstructor()
53 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, JSTaggedValue::Exception()); in SymbolConstructor()
74 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ToString()
75 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToString: no [[SymbolData]]", JSTaggedValue::Exception()); in ToString()
82 // If Type(s) is not Object, throw a TypeError exception. in ToString()
83 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToString: s is not Object", JSTaggedValue::Exception()); in ToString()
133 // If Type(s) is not Object, throw a TypeError exception. in ValueOf()
136 THROW_TYPE_ERROR_AND_RETURN(thread, "ValueOf: s is not Object", JSTaggedValue::Exception()); in ValueOf()
138 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ValueOf()
[all …]
Dbuiltins_weak_map.cpp34 // 1.If NewTarget is undefined, throw a TypeError exception in WeakMapConstructor()
38 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in WeakMapConstructor()
59 THROW_TYPE_ERROR_AND_RETURN(thread, "iterable is not object", JSTaggedValue::Exception()); in WeakMapConstructor()
67 // If IsCallable(adder) is false, throw a TypeError exception in WeakMapConstructor()
136 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete()
137 // 3.If S does not have a [[WeakMapData]] internal slot, throw a TypeError exception. in Delete()
139 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSWeakMap.", JSTaggedValue::Exception()); in Delete()
158 // 2.If Type(S) is not Object, throw a TypeError exception. in Has()
159 // 3.If S does not have a [[WeakMapData]] internal slot, throw a TypeError exception. in Has()
161 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSWeakMap.", JSTaggedValue::Exception()); in Has()
[all …]
Dbuiltins_date_time_format.cpp106 // 2. If Type(dtf) is not Object, throw a TypeError exception. in Format()
108 THROW_TYPE_ERROR_AND_RETURN(thread, "dtf is not object", JSTaggedValue::Exception()); in Format()
115 THROW_TYPE_ERROR_AND_RETURN(thread, "dtfValue is not object", JSTaggedValue::Exception()); in Format()
179 THROW_TYPE_ERROR_AND_RETURN(thread, "is not JSDateTimeFormat", JSTaggedValue::Exception()); in FormatToParts()
198 THROW_RANGE_ERROR_AND_RETURN(thread, "Invalid time value", JSTaggedValue::Exception()); in FormatToParts()
215 // 2. If Type(dtf) is not Object, throw a TypeError exception. in ResolvedOptions()
217 THROW_TYPE_ERROR_AND_RETURN(thread, "this is not object", JSTaggedValue::Exception()); in ResolvedOptions()
241 // 2. If Type(dtf) is not Object, throw a TypeError exception. in FormatRange()
243 THROW_TYPE_ERROR_AND_RETURN(thread, "this is not object", JSTaggedValue::Exception()); in FormatRange()
246 …. If dtf does not have an [[InitializedDateTimeFormat]] internal slot, throw a TypeError exception. in FormatRange()
[all …]
Dbuiltins_weak_set.cpp34 // 1.If NewTarget is undefined, throw a TypeError exception in WeakSetConstructor()
38 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in WeakSetConstructor()
65 // If IsCallable(adder) is false, throw a TypeError exception in WeakSetConstructor()
114 // 2.If Type(S) is not Object, throw a TypeError exception. in Add()
115 // 3.If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception. in Add()
117 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSWeakSet", JSTaggedValue::Exception()); in Add()
122 THROW_TYPE_ERROR_AND_RETURN(thread, "value is not an object", JSTaggedValue::Exception()); in Add()
125 … THROW_TYPE_ERROR_AND_RETURN(thread, "value is Symblol or String", JSTaggedValue::Exception()); in Add()
141 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete()
142 // 3.If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception. in Delete()
[all …]
Dbuiltins_generator.cpp27 JSTaggedValue::Exception()); in GeneratorFunctionConstructor()
39 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeNext()
59 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeReturn()
75 // 26.4.1.4 Generator.prototype.throw(exception)
84 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeThrow()
88 // 2.Let C be ThrowCompletion(exception). in GeneratorPrototypeThrow()
89 JSHandle<JSTaggedValue> exception = GetCallArg(argv, 0); in GeneratorPrototypeThrow() local
92 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
Dbuiltins_arraybuffer.cpp43 // 1. If NewTarget is undefined, throw a TypeError exception. in ArrayBufferConstructor()
45 THROW_TYPE_ERROR_AND_RETURN(thread, "newtarget is undefined", JSTaggedValue::Exception()); in ArrayBufferConstructor()
87 // 2. If Type(O) is not Object, throw a TypeError exception. in GetByteLength()
89 … THROW_TYPE_ERROR_AND_RETURN(thread, "this value is not an object", JSTaggedValue::Exception()); in GetByteLength()
91 // 3. If O does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in GetByteLength()
93 THROW_TYPE_ERROR_AND_RETURN(thread, "don't have internal slot", JSTaggedValue::Exception()); in GetByteLength()
95 // 4. If IsDetachedBuffer(O) is true, throw a TypeError exception. in GetByteLength()
97 THROW_TYPE_ERROR_AND_RETURN(thread, "IsDetachedBuffer", JSTaggedValue::Exception()); in GetByteLength()
117 // 2. If Type(O) is not Object, throw a TypeError exception. in Slice()
119 … THROW_TYPE_ERROR_AND_RETURN(thread, "this value is not an object", JSTaggedValue::Exception()); in Slice()
[all …]
Dbuiltins_typedarray.cpp47 JSTaggedValue::Exception()); in TypedArrayBaseConstructor()
123 // 2. If IsConstructor(C) is false, throw a TypeError exception. in From()
126 …_TYPE_ERROR_AND_RETURN(thread, "the this value is not a Constructor.", JSTaggedValue::Exception()); in From()
132 // a. If IsCallable(mapfn) is false, throw a TypeError exception. in From()
138 … THROW_TYPE_ERROR_AND_RETURN(thread, "the mapfn is not callable.", JSTaggedValue::Exception()); in From()
145 … THROW_TYPE_ERROR_AND_RETURN(thread, "the source is not an object.", JSTaggedValue::Exception()); in From()
275 // 4. If IsConstructor(C) is false, throw a TypeError exception. in Of()
277 …_TYPE_ERROR_AND_RETURN(thread, "the this value is not a Constructor.", JSTaggedValue::Exception()); in Of()
324 // 2. If Type(O) is not Object, throw a TypeError exception. in GetBuffer()
326 … THROW_TYPE_ERROR_AND_RETURN(thread, "This value is not an object.", JSTaggedValue::Exception()); in GetBuffer()
[all …]
Dbuiltins_global.cpp39 THROW_TYPE_ERROR_AND_RETURN(thread, "not support eval()", JSTaggedValue::Exception()); in NotSupportEval()
221 // throw a URIError exception. in Encode()
224 JSTaggedValue::Exception()); in Encode()
231 // 2. If k equals strLen, throw a URIError exception. in Encode()
233 … // 4. If kChar is less than 0xDC00 or greater than 0xDFFF, throw a URIError exception. in Encode()
241 THROW_URI_ERROR_AND_RETURN(thread, "k is invalid", JSTaggedValue::Exception()); in Encode()
246 JSTaggedValue::Exception()); in Encode()
333 // ii. If k + 2 is greater than or equal to strLen, throw a URIError exception. in Decode()
335 // throw a URIError exception. in Decode()
338 JSTaggedValue::Exception()); in Decode()
[all …]
/ark/runtime_core/tests/cts-generator/cts-template/
Dthrow.yaml20 .record java.lang.Exception <external>
37 title: Throw exception
38 description: Throw an exception located in register.
153 description: Throw an exception located in register.
207 …n: Throw an exception located in register. The current method is searched for the first exception
244 …n: Throw an exception located in register. The current method is searched for the first exception
275 description: "Check that register keeps ref to exception object in catch block"
277 description: Throw an exception located in register.
312 description: "Check exception propagation to outer try-catch block"
314 …d for the first exception handler that matches the class of exception. If exception handler is fou…
[all …]
/ark/runtime_core/isa/
Disa.yaml97 …from constant pool) of strings, arrays, exception objects results into an object of type native to…
169 …description: Bytecode throws ExceptionInInitializerError if unexpected exception occurred in a sta…
278 raise exception(WrongRegisterValue) if true that Op == "mov" and type_of(@Vs) is not i32;
279 …raise exception(WrongRegisterValue) if true that Op == "mov.64" and (type_of(@Vs) is not u64 and t…
280 …raise exception(WrongRegisterValue) if true that Op == "mov.obj" and (type_of(@Vs) is not object a…
281 raise exception(UndefinedSemantics) if true that Op not in [[ "mov", "mov.64", "mov.obj" ]];
311 raise exception(WrongImmediateValue) if undefined int_of(Imm);
315 raise exception(WrongImmediateValue) if undefined int_of(Imm);
319 raise exception(WrongImmediateValue) if undefined float_of(Imm);
323 raise exception(WrongImmediateValue) if undefined float_of(Imm);
[all …]
/ark/runtime_core/tests/cts-generator/runner/
Drunner.rb24 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|
79 rescue Exception => e
/ark/js_runtime/ecmascript/containers/
Dcontainers_arraylist.cpp39 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in ArrayListConstructor()
59 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in Add()
75 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in Insert()
81 THROW_TYPE_ERROR_AND_RETURN(thread, "index is not Integer", JSTaggedValue::Exception()); in Insert()
97 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in Clear()
114 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in Clone()
131 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in Has()
149 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in GetCapacity()
166 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIArrayList", JSTaggedValue::Exception()); in IncreaseCapacityTo()
171 … THROW_TYPE_ERROR_AND_RETURN(thread, "newCapacity is not Integer", JSTaggedValue::Exception()); in IncreaseCapacityTo()
[all …]
Dcontainers_treeset.cpp36 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in TreeSetConstructor()
54 … THROW_TYPE_ERROR_AND_RETURN(thread, "comparefn is not Callable", JSTaggedValue::Exception()); in TreeSetConstructor()
70 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in Add()
88 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in Remove()
104 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in Has()
123 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in GetFirstValue()
138 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in GetLastValue()
153 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in Clear()
168 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in GetLowerValue()
186 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeSet", JSTaggedValue::Exception()); in GetHigherValue()
[all …]
Dcontainers_treemap.cpp36 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in TreeMapConstructor()
55 … THROW_TYPE_ERROR_AND_RETURN(thread, "comparefn is not Callable", JSTaggedValue::Exception()); in TreeMapConstructor()
71 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in Set()
92 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in Get()
108 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in Remove()
124 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in HasKey()
143 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in HasValue()
159 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in GetFirstKey()
174 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in GetLastKey()
189 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPITreeMap", JSTaggedValue::Exception()); in SetAll()
[all …]
/ark/js_runtime/ecmascript/tooling/test/utils/testcases/
Djs_exception_test.h27 …location_ = TestUtil::GetLocation("exception.js", 22, 0, pandaFile_.c_str()); // 22: breakpointer… in JsExceptionTest()
47 exception = [this](const JSPtLocation &location) { in JsExceptionTest()
49 ASSERT_EQ(sourceLocation.line, 17); // 17 : exception line in JsExceptionTest()
50 ASSERT_EQ(sourceLocation.column, 27); // 27 : exception column in JsExceptionTest()
57 ASSERT_EQ(jsLocation->GetLine(), 17); // 17 : exception line in JsExceptionTest()
58 ASSERT_EQ(jsLocation->GetColumn(), 27); // 27 : exception column in JsExceptionTest()
59 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsExceptionTest()
90 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsExceptionTest()
102 std::string pandaFile_ = DEBUGGER_ABC_DIR "exception.abc";
/ark/js_runtime/ecmascript/base/
Dtyped_array_helper.cpp47 // 2. If NewTarget is undefined, throw a TypeError exception. in TypedArrayConstructor()
49 … THROW_TYPE_ERROR_AND_RETURN(thread, "The NewTarget is undefined.", JSTaggedValue::Exception()); in TypedArrayConstructor()
184 // 7. If IsDetachedBuffer(srcData) is true, throw a TypeError exception. in CreateFromTypedArray()
186 …THROW_TYPE_ERROR_AND_RETURN(thread, "The srcData is detached buffer.", JSTaggedValue::Exception()); in CreateFromTypedArray()
222 // b. If IsDetachedBuffer(srcData) is true, throw a TypeError exception. in CreateFromTypedArray()
224 …THROW_TYPE_ERROR_AND_RETURN(thread, "The srcData is detached buffer.", JSTaggedValue::Exception()); in CreateFromTypedArray()
274 // 7. If offset modulo elementSize ≠ 0, throw a RangeError exception. in CreateFromArrayBuffer()
277 JSTaggedValue::Exception()); in CreateFromArrayBuffer()
288 // 9. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. in CreateFromArrayBuffer()
291 …THROW_TYPE_ERROR_AND_RETURN(thread, "The srcData is detached buffer.", JSTaggedValue::Exception()); in CreateFromArrayBuffer()
[all …]
/ark/js_runtime/ecmascript/
Djs_proxy.cpp29 // 1. If Type(target) is not Object, throw a TypeError exception. in ProxyCreate()
32 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate()
35 // 2. If Type(handler) is not Object, throw a TypeError exception. in ProxyCreate()
38 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate()
53 // 2. If handler is null, throw a TypeError exception. in GetPrototype()
55 …YPE_ERROR_AND_RETURN(thread, "JSProxy::GetPrototype: handler is null", JSTaggedValue::Exception()); in GetPrototype()
78 // 10. If Type(handlerProto) is neither Object nor Null, throw a TypeError exception. in GetPrototype()
81 JSTaggedValue::Exception()); in GetPrototype()
95 // 16. If SameValue(handlerProto, targetProto) is false, throw a TypeError exception. in GetPrototype()
98 JSTaggedValue::Exception()); in GetPrototype()
[all …]
/ark/js_runtime/ecmascript/tooling/test/utils/
Dtest_hooks.h61 void Exception(const JSPtLocation &location) override in Exception() function
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()
/ark/runtime_core/verification/cflow/
Dcflow_info.cpp113 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()
155 LOG(DEBUG, VERIFIER) << "Tracing exception handlers."; in ProcessCatchBlocks()
160 auto &exception = catch_block.exception_type; in ProcessCatchBlocks() local
165 … CacheOfRuntimeThings::IsRef(exception) ? &CacheOfRuntimeThings::GetRef(exception) : nullptr; in ProcessCatchBlocks()
229 // 3. get method body blocks (exception handlers are not limited to the end of method) in GetCflowMethodInfo()
230 // and exception handlers blocks at once in GetCflowMethodInfo()

12345678910