Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: src/x64/codegen-x64.cc

Issue 141043: X64 implementation: Emit correct merge code for virtual frames at CFG merges. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/x64/codegen-x64.cc
===================================================================
--- src/x64/codegen-x64.cc (revision 2231)
+++ src/x64/codegen-x64.cc (working copy)
@@ -126,6 +126,16 @@
" }"
" return x;"
" }"
+ "\n"
+ " function test_recursion_with_base(x, y, z, w) {"
+ " if (x) {"
+ " x = x;"
+ " } else {"
+ " x = test_recursion_with_base(y, z, w, 0);"
+ " }"
+ " return x;"
+ " }"
+ "\n"
" function test_local_variables(x, y){"
" var w; y = x; x = w; w = y; y = x; return w;"
" };"
@@ -134,7 +144,8 @@
" test_local_variables("
" test_nesting_calls(test_local_variables(1,3), 42, 47),"
" test_local_variables(-25.3, 2));"
- " return test_if_then_else(1, 47, 39);"
+ " return test_if_then_else(0, 46, 47);"
+ " // return test_recursion_with_base(0, 0, 0, 47);\n"
"})()")),
Factory::NewStringFromAscii(CStrVector("CodeGeneratorTestScript")),
0,

Powered by Google App Engine
This is Rietveld 408576698