Revision: 21322
Author: [email protected]
Date: Thu May 15 09:25:03 2014 UTC
Log: Omit stack check in non-looping loops.
[email protected]
Review URL: https://codereview.chromium.org/285333002
http://code.google.com/p/v8/source/detail?r=21322
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Wed May 14 08:51:10 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc Thu May 15 09:25:03 2014 UTC
@@ -4612,6 +4612,7 @@
set_current_block(body_exit);
loop_successor = graph()->CreateBasicBlock();
if (stmt->cond()->ToBooleanIsFalse()) {
+ loop_entry->loop_information()->stack_check()->Eliminate();
Goto(loop_successor);
body_exit = NULL;
} else {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.