| /arkcompiler/ets_frontend/ts2panda/tests/statements/ |
| D | for.test.ts | 53 let jumps = insns.filter(item => item instanceof Jmp); variable 55 expect(jumps.length).to.equal(1); 57 let jmpLabel = (<Jmp>jumps[0]).getTarget(); 65 let jumps = insns.filter(item => item instanceof Jmp); variable 67 expect(jumps.length).to.equal(1); 69 let jmpLabel = (<Jmp>jumps[0]).getTarget(); 71 expect(insns[4]).to.equal(jumps[0]); 77 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 79 expect(jumps.length).to.equal(2); 81 let jgezLabel = (<Jmp>jumps[0]).getTarget(); [all …]
|
| D | doWhile.test.ts | 43 let jumps = insns.filter(item => item instanceof Jmp); variable 45 expect(jumps.length).to.equal(1); 47 let jmpLabel = (<Jmp>jumps[0]).getTarget(); 56 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 58 expect(jumps.length).to.equal(2); 60 let jgezLabel = (<Jmp>jumps[0]).getTarget(); 61 let jmpLabel = (<Jmp>jumps[1]).getTarget(); 66 expect(insns[15]).to.equal(jumps[0]); 67 expect(insns[16]).to.equal(jumps[1]); 100 // check continue jumps to the expected instruction [all …]
|
| D | forIn.test.ts | 74 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 76 expect(jumps.length).to.equal(2); 152 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 154 expect(jumps.length).to.equal(3); 189 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 191 expect(jumps.length).to.equal(3);
|
| D | forOf.test.ts | 123 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 125 expect(jumps.length).to.equal(4); 213 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 215 expect(jumps.length).to.equal(5); 314 let jumps = insns.filter(item => (item instanceof Jmp || item instanceof Jeqz)); variable 316 expect(jumps.length).to.equal(6);
|
| D | while.test.ts | 149 // check continue jumps to the expected instruction 182 // check continue jumps to the expected instruction
|
| /arkcompiler/ets_frontend/ts2panda/tests/expression/ |
| D | conditions.test.ts | 46 let jumps = insns.filter(item => item instanceof Jeqz); variable 48 expect(jumps.length).to.equal(1); 50 let targetLabel = (<Jeqz>jumps[0]).getTarget(); 60 let jumps = insns.filter(item => item instanceof Jeqz); variable 62 expect(jumps.length).to.equal(1); 64 let targetLabel = (<Jeqz>jumps[0]).getTarget(); 76 let jumps = insns.filter(item => (item instanceof Jeqz || item instanceof Jmp)); variable 79 expect(jumps.length).to.equal(2); 82 let elseLabel = (<Jeqz>jumps[0]).getTarget(); 83 let endIfLabel = (<Jmp>jumps[1]).getTarget(); [all …]
|
| D | binary.test.ts | 110 let jumps = insns.filter(item => item instanceof Jeqz || item instanceof Jmp) variable 112 expect(jumps.length).to.equal(3); 140 let jumps = insns.filter(item => item instanceof Jeqz || item instanceof Jmp) variable 142 expect(jumps.length).to.equal(3); 171 let jumps = insns.filter(item => item instanceof Jeqz || item instanceof Jmp) variable 173 expect(jumps.length).to.equal(3);
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | cflow_checks.md | 78 Mis-jumps, or improper termination of cflow at the end of the body are prohibited. 101 Conditional jumps are in grey zone, if they may be proven as always jump 103 of verifier, conditional jumps at the end of the method are prohibited. 107 direct jumps: 171 Jumps into body of exception handler from code is prohibited by default. 175 direct jumps: 228 direct jumps: 313 By default such jumps are prohibited currently.
|
| /arkcompiler/ets_runtime/test/perform/string/ |
| D | string.js | 17 … const str = "The quick brown fox jumps over the lazy dog. If the dog reacted, was it really lazy?" 65 const str = "The quick brown fox jumps over the lazy dog." 88 … const str = "The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?" 100 … const str = "The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?" 112 … const str = "The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?" 134 const str = "The quick brown fox jumps over the lazy dog." 167 const str = "The quick brown fox jumps over the lazy dog." 222 … const str = "The quick brown fox jumps over the lazy dog. If the dog reacted, was it really lazy?" 244 … const str = "The quick brown fox jumps over the lazy dog. If the dog reacted, was it really lazy?" 398 const str = 'The quick brown fox jumps over the lazy dog.' [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_regexp_test.cpp | 282 thread->GetEcmaVM()->GetFactory()->NewFromASCII("quick\\s(brown).+?(jumps)"); in HWTEST_F_L0() 288 … thread->GetEcmaVM()->GetFactory()->NewFromASCII("The Quick Brown Fox Jumps Over The Lazy Dog"); in HWTEST_F_L0() 300 thread->GetEcmaVM()->GetFactory()->NewFromASCII("Quick Brown Fox Jumps"); in HWTEST_F_L0() 302 JSHandle<EcmaString> resultTwo = thread->GetEcmaVM()->GetFactory()->NewFromASCII("Jumps"); in HWTEST_F_L0() 417 thread->GetEcmaVM()->GetFactory()->NewFromASCII("quick\\s(brown).+?(jumps)"); in HWTEST_F_L0() 423 … thread->GetEcmaVM()->GetFactory()->NewFromASCII("The Quick Brown Fox Jumps Over The Lazy Dog"); in HWTEST_F_L0() 436 thread->GetEcmaVM()->GetFactory()->NewFromASCII("Quick Brown Fox Jumps"); in HWTEST_F_L0() 446 thread->GetEcmaVM()->GetFactory()->NewFromASCII("quick\\s(brown).+?(jumps)"); in HWTEST_F_L0() 452 … thread->GetEcmaVM()->GetFactory()->NewFromASCII("The Quick Brown Fox Jumps Over The Lazy Dog"); in HWTEST_F_L0() 468 thread->GetEcmaVM()->GetFactory()->NewFromASCII("quick\\s(brown).+?(jumps)"); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/runtime/bridge/arch/arm/ |
| D | interpreter_to_compiled_code_bridge_dyn_arm.S | 62 // The file contains code which checks opcode and jumps 64 // At the end each handler jumps to .Linvoke_from_bridge label.
|
| D | interpreter_to_compiled_code_bridge_arm.S | 199 // The file contains code which checks opcode and jumps 201 // At the end each handler jumps to .Linvoke_from_bridge label.
|
| D | interpreter_to_compiled_code_bridge_armhf.S | 358 // The file contains code which checks opcode and jumps 360 // At the end each handler jumps to .Linvoke_from_bridge label.
|
| /arkcompiler/runtime_core/runtime/arch/amd64/ |
| D | common_amd64.S | 19 // jumps to the given pc, thus, SP become unaligned.
|
| /arkcompiler/runtime_core/verification/cflow/ |
| D | cflow_info.cpp | 95 … // conditional jumps is problem here, since condition in general could not be precisely in FillJumpsMapAndGetLastInstructionType() 196 // 2. fill jumps map in GetCflowMethodInfo() 197 LOG(DEBUG, VERIFIER) << "Build jumps map."; in GetCflowMethodInfo()
|
| D | cflow_check.cpp | 33 // check method code jumps (body + exc handlers, i.e all code) in CheckCode() 71 * - jumps into body of exception handler from code is prohibited
|
| /arkcompiler/runtime_core/runtime/bridge/arch/aarch64/ |
| D | interpreter_to_compiled_code_bridge_dyn_aarch64.S | 69 // The file contains code which checks opcode and jumps 71 // At the end each handler jumps to .Lload_reg_args label.
|
| D | interpreter_to_compiled_code_bridge_aarch64.S | 246 // The file contains code which checks opcode and jumps 248 // At the end each handler jumps to .Lload_reg_args label.
|
| /arkcompiler/runtime_core/runtime/bridge/arch/amd64/ |
| D | interpreter_to_compiled_code_bridge_dyn_amd64.S | 81 // The file contains code which checks opcode and jumps 83 // At the end each handler jumps to .Lload_reg_args label.
|
| D | interpreter_to_compiled_code_bridge_amd64.S | 349 // The file contains code which checks opcode and jumps 351 // At the end each handler jumps to .Lload_reg_args label.
|
| /arkcompiler/runtime_core/isa/ |
| D | asserts.rb | 127 assert('Conditionals should be jumps') do # At least currently 141 assert('Jumps differ from other control-flow') do # At least currently
|
| /arkcompiler/runtime_core/verification/ |
| D | messages.yaml | 604 message: Cannot fill jumps map of the method. 631 message: Cannot fill jumps map of the exception handler code block. 637 Cannot fill jumps map of the code block in the method body.
|
| /arkcompiler/runtime_core/runtime/bridge/arch/x86/ |
| D | interpreter_to_compiled_code_bridge_x86.S | 198 // The file contains code which checks opcode and jumps 200 // At the end each handler jumps to .Linvoke_from_bridge label.
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | jnez.obj.yaml | 644 - description: Chain of forward jumps 666 - description: Chain of backward jumps
|
| D | jeqz.obj.yaml | 647 - description: Chain of forward jumps 668 - description: Chain of backward jumps
|