Reviewers: William Hesse,

Description:
Experimental: in a debug assertion, allow for the possibility that a
fast-case switch statement exits on all paths.


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

SVN Base: http://v8.googlecode.com/svn/branches/experimental/toiger/

Affected files:
   M     src/codegen-arm.cc


Index: src/codegen-arm.cc
===================================================================
--- src/codegen-arm.cc  (revision 1346)
+++ src/codegen-arm.cc  (working copy)
@@ -1526,7 +1526,7 @@

    LoadAndSpill(node->tag());
    if (TryGenerateFastCaseSwitchStatement(node)) {
-    ASSERT(frame_->height() == original_height);
+    ASSERT(!has_valid_frame() || frame_->height() == original_height);
      return;
    }




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

Reply via email to