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
33e65f3d
Commit
33e65f3d
authored
Apr 15, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a Makefile issue, and add a test exposing an OSR bug
parent
1fe94923
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
src/Makefile
src/Makefile
+1
-1
test/tests/osr_maybe_undefined.py
test/tests/osr_maybe_undefined.py
+13
-0
No files found.
src/Makefile
View file @
33e65f3d
...
...
@@ -164,7 +164,7 @@ LDFLAGS_RELEASE := $(LLVM_RELEASE_LDFLAGS) $(COMMON_LDFLAGS)
# LDFLAGS_RELEASE += -Wl,--gc-sections
BUILD_SYSTEM_DEPS
:=
Makefile Makefile.local
$(
wildcard
build_system/
*
)
CLANG_DEPS
:=
$(CLANG_EXE)
$(
dir
$(CLANG_EXE)
)
/../../built_release
CLANG_DEPS
:=
$(CLANG_EXE)
$(
abspath
$(
dir
$(CLANG_EXE)
)
/../../built_release
)
# settings to make clang and ccache play nicely:
CLANG_CCACHE_FLAGS
:=
-Qunused-arguments
...
...
test/tests/osr_maybe_undefined.py
0 → 100644
View file @
33e65f3d
# Regression test to make sure we can do an OSR if one of the live variables
# is potentially-undefined.
def
f
(
x
):
if
x
:
y
=
1
for
i
in
xrange
(
10000000
):
pass
print
y
f
(
1
)
f
(
0
)
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