Home
last modified time | relevance | path

Searched full:try (Results 1 – 25 of 231) sorted by relevance

12345678910

/arkcompiler/runtime_core/compiler/docs/
Dtry_catch_blocks_ir.md1 # Try-catch blocks IR building
41 | Try-begin |---------->\------------------>\
51 | Try-end |-------------->\------------------>\
64Try-begin` and `Try-end` - are try boundaries basic blocks. Both of them have one normal control-f…
66Try-end` block to the catch-handlers are needed for correct linear order of basic blocks, since pr…
68 ## IR with unreachable try-end
109 | | Try | |
142 `Try` - pseudo instruction which is added to the `Try-begin` basic block. It contains pointer to th…
144 In the example from overview section `Try` instruction provides information that `Try-begin`'s seco…
148 - vector of try-begin blocks in order they are declared in the bytecode;
[all …]
Dobject_type_check_elimination_doc.md3 **Object Type Check Elimination** - optimization which try to reduce number of IsInstance/CheckCast…
13 Visit `IsInstance` and `CheckCast` instructions in RPO order and try to elimiate them.
Ddeoptimize_elimination_doc.md3 **Deoptimize Elimination** - optimization which try to reduce number of DeoptimizeIf instructions.
29 For another inputs, algorithm try to replaced by `NOP` all `DeoptimizeIf` instruction which is domi…
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-try-statement.js17 try { }
21 try { }
25 try { }
28 try { }
31 try { }
Dtest-try-without-catch-and-finally-expected.txt1 SyntaxError: Missing catch or finally clause [test-try-without-catch-and-finally.js:18:1]
Dtest-try-catch-lexical-declaration-expected.txt1 SyntaxError: Variable 'e' has already been declared. [test-try-catch-lexical-declaration.js:23:7]
/arkcompiler/ets_runtime/test/aottest/try_catch_finally/
Dtry_catch_finally.ts25 try {
40 try {
57 try {
74 try {
86 try {
99 try {
/arkcompiler/ets_runtime/test/moduletest/trycatch/
Dtrycatch.js18 * @tc.desc:test try-catch
22 try {
29 try {
36 try {
/arkcompiler/ets_runtime/test/aottest/builtins_array/
Dbuiltins_array.ts28 try {
35 try {
42 try {
/arkcompiler/runtime_core/runtime/mem/
Dinternal_allocator.cpp71 LOG_INTERNAL_ALLOCATOR(DEBUG) << "Try to allocate " << size << " bytes"; in Alloc()
107 …LOG_INTERNAL_ALLOCATOR(DEBUG) << "Try to free via InternalAllocator at address " << std::hex << pt… in Free()
153 … LOG_INTERNAL_ALLOCATOR(DEBUG) << "RunSlotsAllocator didn't allocate memory, try to add new pool"; in AllocInRunSlots()
160 …LOG_INTERNAL_ALLOCATOR(DEBUG) << "RunSlotsAllocator try to allocate memory again after pool adding… in AllocInRunSlots()
176 LOG_INTERNAL_ALLOCATOR(DEBUG) << "Try to use RunSlotsAllocator"; in AllocViaPandaAllocators()
183 LOG_INTERNAL_ALLOCATOR(DEBUG) << "Try to use thread-local RunSlotsAllocator"; in AllocViaPandaAllocators()
192 LOG_INTERNAL_ALLOCATOR(DEBUG) << "Try to use FreeListAllocator"; in AllocViaPandaAllocators()
203 … LOG_INTERNAL_ALLOCATOR(DEBUG) << "FreeListAllocator didn't allocate memory, try to add new pool"; in AllocViaPandaAllocators()
214 LOG_INTERNAL_ALLOCATOR(DEBUG) << "Try to use HumongousObjAllocator"; in AllocViaPandaAllocators()
225 …LOG_INTERNAL_ALLOCATOR(DEBUG) << "HumongousObjAllocator didn't allocate memory, try to add new poo… in AllocViaPandaAllocators()
Dhumongous_obj_allocator-inl.h48 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to allocate memory with size " << size; in Alloc()
70 // First try to find suitable block in Reserved pools in Alloc()
109 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to free memory at invalid addr 0"; in FreeUnsafe()
112 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to free memory at addr " << std::hex << mem; in FreeUnsafe()
115 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to free memory not from this allocator"; in FreeUnsafe()
199 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to insert pool with size " << header->GetPoolSize() in InsertPool()
201 // Try to insert it into ReservedMemoryPools in InsertPool()
251 // Try to find a pool with this range in IterateOverObjectsInRange()
379 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to find suitable pool for memory with size " << size; in FindSuitablePool()
423 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to insert a pool in Reserved memory with addr " << std:… in TryToInsert()
[all …]
Dframe_allocator.h91 * \brief Try to allocate an arena from the memory.
97 … * \brief Try to allocate memory for a frame in the current arena or in the next one if it exists.
109 * \brief Try to allocate an arena from the memory.
Dframe_allocator-inl.h64 LOG_FRAME_ALLOCATOR(DEBUG) << "Try to allocate a new arena with size " << arena_size; in TryAllocateNewArena()
83 // Try to get free memory from current arenas in Alloc()
137 // Try to allocate memory in the current arena: in TryToAllocate()
143 // We don't have enough memory in current arena, try to allocate in the next one: in TryToAllocate()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dtry_catch_resolving.cpp36 …COMPILER_LOG(DEBUG, TRY_CATCH_RESOLVING) << "Visit try-begin id = " << std::to_string(block->GetId… in RunImpl()
60 …// First of all, try to find catch-handler that can be directly connected to the block with `throw` in VisitTry()
88 // There should be no side-exits from try in TryFindResolvedCatchHandler()
94 // We've got `object_id` which is thrown form try-block in TryFindResolvedCatchHandler()
98 // We don't connect catch-handlers which are related to more than one try-block. in TryFindResolvedCatchHandler()
100 // - have more than 2 predecessors (one try-begin/end pair); in TryFindResolvedCatchHandler()
101 // - were already visited from another try-block and were marked; in TryFindResolvedCatchHandler()
/arkcompiler/ets_runtime/test/aottest/throw/
Dthrow.ts17 try {
24 try {
/arkcompiler/ets_runtime/test/aottest/continue_from_finally/
Dcontinue_from_finally.ts26 try {
36 print('This code is unreachable (following `try` statement).');
/arkcompiler/runtime_core/runtime/coretypes/
Darray.cpp63 …// Witout full memory barrier it is possible that architectures with weak memory order can try fet… in Create()
81 …// Without full memory barrier it is possible that architectures with weak memory order can try fe… in Create()
100 …// Witout full memory barrier it is possible that architectures with weak memory order can try fet… in Create()
123 …// Witout full memory barrier it is possible that architectures with weak memory order can try fet… in CreateTagged()
/arkcompiler/runtime_core/libpandabase/mem/
Dmalloc_mem_pool-inl.h41 LOG_MALLOC_MEM_POOL(DEBUG) << "Try to get new arena with size " << std::dec << size << " for " in AllocArenaImpl()
65 LOG_MALLOC_MEM_POOL(DEBUG) << "Try to free arena with size " << std::dec << arena->GetSize() in FreeArenaImpl()
77 LOG_MALLOC_MEM_POOL(DEBUG) << "Try to get new pool with size " << std::dec << size << " for " in AllocPoolImpl()
88 …LOG_MALLOC_MEM_POOL(DEBUG) << "Try to free pool with size " << std::dec << size << " at addr = " <… in FreePoolImpl()
/arkcompiler/ets_frontend/ts2panda/tests/statements/
DtryCatch.test.ts41 try {a = 1;}
69 try {a = 1;}
100 try {a = 1;}
135 try {a = 1;}
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp107 COMPILER_LOG(INFO, IR_BUILDER) << "Method has too many try blocks: " << cda.GetTriesSize() in CheckMethodLimitations()
258 // use try-block with the same boundaries in InsertTryBlockInfo()
299 …COMPILER_LOG(INFO, IR_BUILDER) << "There are: " << try_blocks_.size() << " try-blocks in the metho… in CreateTryCatchBoundariesBlocks()
377 // Empty try-block in TrackTryBoundaries()
450 …// Nested try-blocks can be removed, but referring to them basic blocks can be placed in the exter… in MarkTryCatchBlocks()
451 // So `try` marks are added after removing unreachable blocks in MarkTryCatchBlocks()
513 // Create auxiliary `Try` instruction in ConnectTryCodeBlock()
535 * try {
536 * try { a++;}
540 …* Nested try doesn't contain throwable instructions and related catch-handler will not be connecte…
/arkcompiler/runtime_core/runtime/
Dmonitor.cpp94 // and try inflating light monitor (`Inflate` expects lock to still be acquired by target; in InflateThinLock()
156 …LOG(DEBUG, RUNTIME) << "Try to enter monitor " << std::hex << obj << " with state " << std::dec <… in MonitorEnter()
284 …LOG(DEBUG, RUNTIME) << "Try to exit monitor " << std::hex << obj << " with state " << std::dec <<… in MonitorExit()
318 LOG(ERROR, RUNTIME) << "Try to perform monitor exit from unlocked state"; in MonitorExit()
350 LOG(DEBUG, RUNTIME) << "Try to wait with state " << state; in Wait()
358 … LOG(ERROR, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in Wait()
425 … LOG(FATAL, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in Wait()
434 LOG(ERROR, RUNTIME) << "Try to perform Wait from unsupported state"; in Wait()
449 LOG(DEBUG, RUNTIME) << "Try to notify with state " << state; in Notify()
458 …LOG(ERROR, RUNTIME) << "Illegal monitor state: try to notify with monitor acquired by other thread… in Notify()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dtypes_analysis.h28 * If a PHI has assumed type and we try to set another type, we change assumed type to undefine.
29 …* If an assumed type is set for PHI, then we try to assign the type for all PHI that are inputs of…
/arkcompiler/ets_frontend/test262/
Dmodule_tests.txt309 parse-err-decl-pos-export-try-catch-finally.js
310 parse-err-decl-pos-export-try-catch.js
311 parse-err-decl-pos-export-try-finally.js
312 parse-err-decl-pos-export-try-try.js
352 parse-err-decl-pos-import-try-catch-finally.js
353 parse-err-decl-pos-import-try-catch.js
354 parse-err-decl-pos-import-try-finally.js
355 parse-err-decl-pos-import-try-try.js
/arkcompiler/runtime_core/runtime/mem/gc/
Dgc_adaptive_stack.cpp85 // Try to create a new task only once in PushToStack()
87 …LOG(DEBUG, GC) << "GCAdaptiveStack: Try to add new task " << GCWorkersTaskTypesToString(task_type_) in PushToStack()
100 // We will try to create a new task later in PushToStack()
/arkcompiler/runtime_core/runtime/mem/gc/heap-space-misc/
Dcrossing_map.cpp44 LOG_CROSSING_MAP(FATAL) << "Try to initialize already initialized CrossingMap"; in Initialize()
69 …LOG_CROSSING_MAP(DEBUG) << "Try to AddObject with addr " << std::hex << obj_addr << " and size " <… in AddObject()
149 …LOG_CROSSING_MAP(DEBUG) << "Try to RemoveObject with addr " << std::hex << obj_addr << " and size … in RemoveObject()
288 LOG_CROSSING_MAP(DEBUG) << "Try to find object for map_num - " << map_num; in FindObjInMap()
300 … << "STATE_INITIALIZED_AND_CROSSED_BORDERS, try to find object which crosses the borders"; in FindObjInMap()
313 … LOG_CROSSING_MAP(DEBUG) << "STATE_CROSSED_BORDER, try to find object which crosses the borders"; in FindObjInMap()

12345678910