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
407a6276
Commit
407a6276
authored
Jul 31, 2015
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build and support interpreter frames inside getCurrentPythonLine()
parent
81825c8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/codegen/irgen/irgenerator.cpp
src/codegen/irgen/irgenerator.cpp
+1
-1
src/codegen/unwinding.cpp
src/codegen/unwinding.cpp
+2
-2
No files found.
src/codegen/irgen/irgenerator.cpp
View file @
407a6276
...
...
@@ -299,7 +299,7 @@ private:
}
void
checkAndPropagateCapiException
(
const
UnwindInfo
&
unw_info
,
llvm
::
Value
*
returned_val
,
llvm
::
Value
*
exc_val
,
bool
double_check
)
{
bool
double_check
)
override
{
assert
(
!
double_check
);
// need to call PyErr_Occurred
llvm
::
BasicBlock
*
normal_dest
...
...
src/codegen/unwinding.cpp
View file @
407a6276
...
...
@@ -1188,8 +1188,8 @@ std::string getCurrentPythonLine() {
if
(
frame_iter
.
get
())
{
std
::
ostringstream
stream
;
auto
*
c
f
=
frame_iter
->
getCF
();
auto
source
=
c
f
->
c
lfunc
->
source
.
get
();
auto
*
c
lfunc
=
frame_iter
->
getCL
();
auto
source
=
clfunc
->
source
.
get
();
auto
current_stmt
=
frame_iter
->
getCurrentStatement
();
...
...
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