Commit 33e65f3d authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix a Makefile issue, and add a test exposing an OSR bug

parent 1fe94923
...@@ -164,7 +164,7 @@ LDFLAGS_RELEASE := $(LLVM_RELEASE_LDFLAGS) $(COMMON_LDFLAGS) ...@@ -164,7 +164,7 @@ LDFLAGS_RELEASE := $(LLVM_RELEASE_LDFLAGS) $(COMMON_LDFLAGS)
# LDFLAGS_RELEASE += -Wl,--gc-sections # LDFLAGS_RELEASE += -Wl,--gc-sections
BUILD_SYSTEM_DEPS := Makefile Makefile.local $(wildcard build_system/*) 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: # settings to make clang and ccache play nicely:
CLANG_CCACHE_FLAGS := -Qunused-arguments CLANG_CCACHE_FLAGS := -Qunused-arguments
......
# 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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment