File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ OpCodes codeForBC(int bc) {
126
126
127
127
public int bciToSrcOffset (int bci ) {
128
128
int diffIdx = 0 ;
129
- int currentOffset = 0 ;
129
+ int currentOffset = startOffset ;
130
130
131
131
int bytecodeNumber = 0 ;
132
132
for (int i = 0 ; i < code .length ;) {
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ public CodeUnit assemble(int flags) {
196
196
197
197
Block b = startBlock ;
198
198
HashMap <Block , List <Block >> handlerBlocks = new HashMap <>();
199
- int lastSrcOffset = 0 ;
199
+ int lastSrcOffset = startOffset ;
200
200
while (b != null ) {
201
201
b .startBci = buf .size ();
202
202
BlockInfo .AbstractExceptionHandler handler = b .findExceptionHandler ();
You can’t perform that action at this time.
0 commit comments