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
110eaaea
Commit
110eaaea
authored
Jan 06, 2016
by
Marius Wachtler
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1041 from undingen/gen_gc_fix
Fix crash inside BoxedGenerator::gcHandler
parents
e798f40f
cc5f4cd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/runtime/generator.cpp
src/runtime/generator.cpp
+5
-4
No files found.
src/runtime/generator.cpp
View file @
110eaaea
...
...
@@ -436,11 +436,12 @@ void BoxedGenerator::gcHandler(GCVisitor* v, Box* b) {
v
->
visit
(
&
g
->
arg2
);
if
(
num_args
>=
3
)
v
->
visit
(
&
g
->
arg3
);
if
(
g
->
args
)
if
(
g
->
args
)
{
v
->
visit
(
&
g
->
args
);
if
(
num_args
>
3
)
v
->
visitPotentialRange
(
reinterpret_cast
<
void
**>
(
&
g
->
args
->
elts
[
0
]),
reinterpret_cast
<
void
**>
(
&
g
->
args
->
elts
[
num_args
-
3
]));
if
(
num_args
>
3
)
v
->
visitPotentialRange
(
reinterpret_cast
<
void
**>
(
&
g
->
args
->
elts
[
0
]),
reinterpret_cast
<
void
**>
(
&
g
->
args
->
elts
[
num_args
-
3
]));
}
if
(
g
->
returnValue
)
v
->
visit
(
&
g
->
returnValue
);
if
(
g
->
exception
.
type
)
...
...
Boxiang Sun
@Daetalus
mentioned in commit
6df28d9b
·
Sep 08, 2016
mentioned in commit
6df28d9b
mentioned in commit 6df28d9be1c8bd75cf8e447c5b4c5552cc274f23
Toggle commit list
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