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
1e442a19
Commit
1e442a19
authored
Nov 15, 2014
by
Yi-Hong Lyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uninitiated read of >> 3 == 3 (REPL)
parent
6ee86476
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/jit.cpp
src/jit.cpp
+3
-0
No files found.
src/jit.cpp
View file @
1e442a19
...
@@ -236,15 +236,18 @@ int main(int argc, char** argv) {
...
@@ -236,15 +236,18 @@ int main(int argc, char** argv) {
AST_Name
*
r
=
new
AST_Name
();
AST_Name
*
r
=
new
AST_Name
();
r
->
id
=
"repr"
;
r
->
id
=
"repr"
;
r
->
ctx_type
=
AST_TYPE
::
Load
;
r
->
ctx_type
=
AST_TYPE
::
Load
;
r
->
lineno
=
0
;
c
->
func
=
r
;
c
->
func
=
r
;
c
->
starargs
=
NULL
;
c
->
starargs
=
NULL
;
c
->
kwargs
=
NULL
;
c
->
kwargs
=
NULL
;
c
->
args
.
push_back
(
e
->
value
);
c
->
args
.
push_back
(
e
->
value
);
c
->
lineno
=
0
;
AST_Print
*
p
=
new
AST_Print
();
AST_Print
*
p
=
new
AST_Print
();
p
->
dest
=
NULL
;
p
->
dest
=
NULL
;
p
->
nl
=
true
;
p
->
nl
=
true
;
p
->
values
.
push_back
(
c
);
p
->
values
.
push_back
(
c
);
p
->
lineno
=
0
;
m
->
body
[
0
]
=
p
;
m
->
body
[
0
]
=
p
;
}
}
...
...
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