Home
last modified time | relevance | path

Searched full:catch (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/arkcompiler/runtime_core/compiler/docs/
Dtry_catch_blocks_ir.md1 # Try-catch blocks IR building
22 .catch RuntimeException, try_begin_label_0, try_end_label_0, handler_begin_label_0_0
23 .catch Exception, try_begin_label_0, try_end_label_0, handler_begin_label_0_1
64 …e normal control-flow successor and N catch-handlers successors (N is equal 2 in the example: try-…
66 …y-end` block to the catch-handlers are needed for correct linear order of basic blocks, since prog…
92 .catch E, try_begin, try_end, try_end
114 \---- | TryEnd |------> | Catch |
125 `CatchPhi` - pseudo instruction which is added to the `Catch-begin` basic block. Each `CatchPhi` co…
142 …ck. It contains pointer to the `Try-end` and maps exceptions types to the catch-handlers basic blo…
149 - map from each throwable instruction the corresponding catch-handlers;
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dthrow.yaml163 .catch panda.NullPointerException, try_begin, try_end, catch_NPE_block_begin
196 .catch panda.NullPointerException, try_begin, try_end, catch_NPE_block_begin
307 description: "Check that correct catch block is selected"
380 .catch panda.NullPointerException, try_begin, try_end, catch_NPE_block_begin
381 .catch E1, try_begin, try_end, catch_E1_block_begin
382 .catch E2, try_begin, try_end, catch_E2_block_begin
383 .catch E3, try_begin, try_end, catch_E3_block_begin
392 description: "Check that correct catch block is selected"
466 .catch panda.NullPointerException, try_begin, try_end, catch_NPE_block_begin
467 .catch panda.RuntimeException, try_begin, try_end, catch_RE_block_begin
[all …]
Dcheckcast.yaml80 .catch panda.ClassCastException, try_begin, try_end, catch_begin
125 .catch panda.ClassCastException, try_begin, try_end, catch_begin
173 .catch panda.ClassCastException, try_begin, try_end, catch_begin
218 .catch panda.ClassCastException, try_begin, try_end, catch_begin
266 .catch panda.ClassCastException, try_begin, try_end, catch_begin
311 .catch panda.ClassCastException, try_begin, try_end, catch_begin
366 .catch panda.ClassCastException, try_begin, try_end, catch_begin
412 .catch panda.ClassCastException, try_begin, try_end, catch_begin
470 .catch panda.ClassCastException, try_begin, try_end, catch_begin
511 .catch panda.ClassCastException, try_begin, try_end, catch_begin
[all …]
Djmp.yaml228 description: Jump outside try/catch block.
244 .catch panda.ArithmeticException, begin, end, catch_ae
256 description: Jump outside try/catch block.
274 .catch panda.NullPointerException, begin, end, catch_npe
Djnez.yaml261 description: Jump outside try/catch block.
278 .catch panda.ArithmeticException, begin, end, catch_ae
290 description: Jump outside try/catch block.
309 .catch panda.NullPointerException, begin, end, catch_npe
428 .catch E1, begin, end, catch_E1_begin, catch_E1_end
429 .catch E2, catch_E1_begin, catch_E1_end, catch_E2_begin, catch_E2_end
Djgtz.yaml270 description: Jump outside try/catch block.
287 .catch panda.ArithmeticException, begin, end, catch_ae
299 description: Jump outside try/catch block.
318 .catch panda.NullPointerException, begin, end, catch_npe
437 .catch E1, begin, end, catch_E1_begin, catch_E1_end
438 .catch E2, catch_E1_begin, catch_E1_end, catch_E2_begin, catch_E2_end
Djeqz.yaml260 description: Jump outside try/catch block.
277 .catch panda.ArithmeticException, begin, end, catch_ae
289 description: Jump outside try/catch block.
308 .catch panda.NullPointerException, begin, end, catch_npe
427 .catch E1, begin, end, catch_E1_begin, catch_E1_end
428 .catch E2, catch_E1_begin, catch_E1_end, catch_E2_begin, catch_E2_end
/arkcompiler/runtime_core/runtime/tests/
Dexception_test.cpp95 * to provoke the AbstractMethodException, to catch it,
138 .catch panda.AbstractMethodError, try_begin, try_end, handler_begin_correct in TEST_F()
139 .catch panda.Exception, try_begin, try_end, handler_begin_incorrect in TEST_F()
178 * to provoke the AbstractMethodException, to catch it,
221 .catch panda.AbstractMethodError, try_begin, try_end, handler_begin_correct in TEST_F()
222 .catch panda.Exception, try_begin, try_end, handler_begin_incorrect in TEST_F()
261 * to provoke the AbstractMethodException, to catch it,
307 .catch panda.AbstractMethodError, try_begin, try_end, handler_begin_correct in TEST_F()
308 .catch panda.Exception, try_begin, try_end, handler_begin_incorrect in TEST_F()
347 * to provoke the AbstractMethodException, to catch it,
[all …]
/arkcompiler/ets_frontend/test262/
DdynamicImport_tests.txt424 nested-function-import-catch-eval-rqstd-abrupt-urierror.js
425 nested-if-import-catch-specifier-tostring-abrupt-rejects.js
426 top-level-import-catch-eval-script-code-target.js
430 nested-while-import-catch-file-does-not-exist.js
441 nested-while-import-catch-eval-script-code-target.js
443 nested-function-import-catch-instn-iee-err-ambiguous-import.js
444 nested-function-import-catch-eval-rqstd-abrupt-typeerror.js
445 nested-block-import-catch-specifier-tostring-abrupt-rejects.js
446 nested-arrow-import-catch-specifier-tostring-abrupt-rejects.js
448 nested-while-import-catch-eval-rqstd-abrupt-urierror.js
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-try-statement.js18 catch(e) { }
22 catch { }
29 catch(e) { }
32 catch { }
Dtest-missing-catch-argument-expected.txt1 SyntaxError: Unexpected token in catch parameter [test-missing-catch-argument.js:21:7]
Dtest-try-without-catch-and-finally-expected.txt1 SyntaxError: Missing catch or finally clause [test-try-without-catch-and-finally.js:18:1]
/arkcompiler/ets_runtime/test/moduletest/trycatch/
Dtrycatch.js18 * @tc.desc:test try-catch
25 } catch(e) {
32 } catch(e) {
38 } catch(e) {
/arkcompiler/ets_runtime/test/moduletest/dynamicimport/
Ddynamicimport.js30 }).then().catch();
37 f().then().catch();
44 // Catch error test
45 import('./throwerror.js').catch(error => {
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dtry_catch_resolving.cpp52 * and directly connect catch-handler for this `object_id` if it exists in the current graph
60 …// First of all, try to find catch-handler that can be directly connected to the block with `throw` in VisitTry()
62 // Now, when catch-handler was searched - remove all edges from `try_begin` and `try_end` blocks in VisitTry()
64 // If resolved catch-handler exists, connect it in VisitTry()
98 // We don't connect catch-handlers which are related to more than one try-block. in TryFindResolvedCatchHandler()
123 …* Disconnect auxiliary `try_begin` and `try_end`. That means all related catch-handlers become unr…
137 // Mark that catch-handler was visited in DeleteTryCatchEdges()
143 * Add edge between catch-handler and `try_end` follows `throw` instruction
169 * Replace all catch-phi instructions with their inputs
170 * Replace accumulator's catch-phi with exception's object
[all …]
/arkcompiler/runtime_core/tests/checked/
Dimplicit_nullcheck_tests.pa89 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
113 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
135 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
158 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
181 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
204 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
227 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
251 .catch panda.NullPointerException, try_begin, try_end, catch_block1_begin
/arkcompiler/ets_runtime/test/aottest/try_catch_finally/
Dtry_catch_finally.ts29 catch (er1) { }
43 catch (er1) {
60 catch (er1) {
89 catch (er1) {
/arkcompiler/ets_runtime/test/aottest/builtins_array/
Dbuiltins_array.ts31 } catch (e) {
38 } catch (e) {
45 } catch (e) {
/arkcompiler/runtime_core/compiler/tests/
Dtry_catch_resolving_test.cpp61 .catch E1, try_begin, try_end, catch_block2_begin in TEST_F()
115 .catch E1, try_begin, try_end, catch_block1 in TEST_F()
116 .catch E2, try_begin, try_end, catch_block2 in TEST_F()
117 .catch E3, try_begin, try_end, catch_block3 in TEST_F()
/arkcompiler/ets_runtime/test/aottest/throw/
Dthrow.ts20 catch (ex) {
27 catch (ex) {
/arkcompiler/toolchain/tooling/test/testcases/js/
Dthrow_exception.js23 catch(err) {
24 print("catch: " + err);
/arkcompiler/runtime_core/tests/verifier-tests/
Dexception_type.pa14 # checking catch block handling the specific exception
35 .catch panda.NullPointerException, try_begin_label_0, try_end_label_0, handler_begin_label_0_0
Dcflow_fallthrough_from_exc_handler_to_exc_handler.pa31 .catch E, try_begin, try_end, catch2_begin, catch2_end
49 .catch E, try_begin, try_end, catch2_begin, catch2_end
Dcflow_jump_from_exc_handler_to_exc_handler.pa31 .catch E, try_begin, try_end, catch2_begin, catch2_end
49 .catch E, try_begin, try_end, catch2_begin, catch2_end
/arkcompiler/ets_runtime/test/aottest/dynamicimport/
Ddynamicimport.js31 }).then().catch();
39 f().then().catch();

12345678910>>...12