File tree Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ BaselineOfSindarin >> baseline: spec [
1010
1111 < baseline>
1212 spec for: #common do: [
13- spec postLoadDoIt: #postloadWithLoader:withPackageSpec: .
14-
1513 spec
1614 package: ' Sindarin' ;
1715 package: ' Sindarin-Tests' ;
@@ -21,17 +19,3 @@ BaselineOfSindarin >> baseline: spec [
2119 group: ' default' with: #( 'Sindarin' 'Sindarin-Tests' ) ;
2220 group: ' experiments' with: #( 'default' 'Sindarin-Experiments' )
2321]
24-
25- { #category : ' baselines' }
26- BaselineOfSindarin >> postloadWithLoader: loader withPackageSpec: spec [
27-
28- InstructionStream compiledMethodAt: #willJumpIfFalse ifAbsent: [
29- Smalltalk compiler
30- source: ' willJumpIfFalse
31- "Answer whether the next bytecode is a jump-if-false."
32-
33- ^ self method encoderClass isBranchIfFalseAt: pc in: self method' ;
34- class : InstructionStream ;
35- compile;
36- install ]
37- ]
Original file line number Diff line number Diff line change 11Extension { #name : ' InstructionStream' }
22
3+ { #category : ' *Sindarin' }
4+ InstructionStream >> willCreateBlock [
5+ " next bytecode is a block creation"
6+
7+ ^ self method encoderClass isCreateFullBlockAt: pc in: self method
8+ ]
9+
310{ #category : ' *Sindarin' }
411InstructionStream >> willJump [
512 " Answer whether the next bytecode will jump."
You can’t perform that action at this time.
0 commit comments