Reviewers: iposva, Kevin Millikin,

Description:
Fix crash bug in ARM codegenerator by adding another special case for
generating code after a call to LoadConditionAndSpill.

This crash is hit on www.rightmove.co.uk when using the ARM
codegenerator.

Please review this at http://codereview.chromium.org/149351

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/arm/codegen-arm.cc


Index: src/arm/codegen-arm.cc
===================================================================
--- src/arm/codegen-arm.cc      (revision 2399)
+++ src/arm/codegen-arm.cc      (working copy)
@@ -3615,7 +3615,7 @@
                            false_target(),
                            true_target(),
                            true);
-    cc_reg_ = NegateCondition(cc_reg_);
+    if (has_cc()) cc_reg_ = NegateCondition(cc_reg_);

    } else if (op == Token::DELETE) {
      Property* property = node->expression()->AsProperty();



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to