Home
last modified time | relevance | path

Searched full:jumps (Results 1 – 25 of 40) sorted by relevance

12

/arkcompiler/ets_frontend/ts2panda/tests/statements/
Dfor.test.ts53 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 …]
DdoWhile.test.ts43 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 …]
DforIn.test.ts74 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);
DforOf.test.ts123 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);
Dwhile.test.ts149 // check continue jumps to the expected instruction
182 // check continue jumps to the expected instruction
/arkcompiler/ets_frontend/ts2panda/tests/expression/
Dconditions.test.ts46 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 …]
Dbinary.test.ts110 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/
Dcflow_checks.md78 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/
Dstring.js17 … 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/
Dbuiltins_regexp_test.cpp282 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/
Dinterpreter_to_compiled_code_bridge_dyn_arm.S62 // The file contains code which checks opcode and jumps
64 // At the end each handler jumps to .Linvoke_from_bridge label.
Dinterpreter_to_compiled_code_bridge_arm.S199 // The file contains code which checks opcode and jumps
201 // At the end each handler jumps to .Linvoke_from_bridge label.
Dinterpreter_to_compiled_code_bridge_armhf.S358 // 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/
Dcommon_amd64.S19 // jumps to the given pc, thus, SP become unaligned.
/arkcompiler/runtime_core/verification/cflow/
Dcflow_info.cpp95 … // 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()
Dcflow_check.cpp33 // 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/
Dinterpreter_to_compiled_code_bridge_dyn_aarch64.S69 // The file contains code which checks opcode and jumps
71 // At the end each handler jumps to .Lload_reg_args label.
Dinterpreter_to_compiled_code_bridge_aarch64.S246 // 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/
Dinterpreter_to_compiled_code_bridge_dyn_amd64.S81 // The file contains code which checks opcode and jumps
83 // At the end each handler jumps to .Lload_reg_args label.
Dinterpreter_to_compiled_code_bridge_amd64.S349 // 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/
Dasserts.rb127 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/
Dmessages.yaml604 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/
Dinterpreter_to_compiled_code_bridge_x86.S198 // 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/
Djnez.obj.yaml644 - description: Chain of forward jumps
666 - description: Chain of backward jumps
Djeqz.obj.yaml647 - description: Chain of forward jumps
668 - description: Chain of backward jumps

12