Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
7f3083ea
Commit
7f3083ea
authored
Jun 30, 2016
by
Marius Wachtler
Committed by
GitHub
Jun 30, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1274 from undingen/bjit_osr_failure
bjit: fix failed OSR
parents
73eb4a8d
818927c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/codegen/ast_interpreter.cpp
src/codegen/ast_interpreter.cpp
+9
-2
No files found.
src/codegen/ast_interpreter.cpp
View file @
7f3083ea
...
...
@@ -406,11 +406,18 @@ Box* ASTInterpreter::executeInner(ASTInterpreter& interpreter, CFGBlock* start_b
// WARNING: do not put a try catch + rethrow block around this code here.
// it will confuse our unwinder!
rtn
=
interpreter
.
doOSR
(
cur_stmt
);
}
Py_CLEAR
(
v
.
o
);
// rtn == NULL when the OSR failed and we have to continue with interpreting
if
(
rtn
)
return
rtn
;
// if we get here OSR failed, fallthrough to the interpreter loop
}
else
{
Py_XDECREF
(
v
.
o
);
return
rtn
;
}
}
}
if
(
ENABLE_BASELINEJIT
&&
interpreter
.
should_jit
&&
!
interpreter
.
jit
)
{
assert
(
!
interpreter
.
current_block
->
code
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment