Reviewers: Vitaly,

Description:
Fix compile with --simulator=arm

r4932 introduced this warning-treated-as-error:
src/arm/virtual-frame-arm.cc:552: warning: enumeration value 'TOS_STATES' not
handled in switch

Please review this at http://codereview.chromium.org/2821020/show

SVN Base: git://github.com/v8/v8.git

Affected files:
  M src/arm/virtual-frame-arm.cc


Index: src/arm/virtual-frame-arm.cc
diff --git a/src/arm/virtual-frame-arm.cc b/src/arm/virtual-frame-arm.cc
index 2ddfd0fd82a07eec5df6f2c516e52dec3f6ec211..9a73cdf65440d2130bee24a96ca39a99857b9da0 100644
--- a/src/arm/virtual-frame-arm.cc
+++ b/src/arm/virtual-frame-arm.cc
@@ -562,8 +562,9 @@ Register VirtualFrame::Peek2() {
     case R1_R0_TOS:
       MergeTOSTo(R1_R0_TOS);
       return r0;
+    default:
+      UNREACHABLE();
   }
-  UNREACHABLE();
   return no_reg;
 }



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

Reply via email to