Revision: 12197
Author:   [email protected]
Date:     Thu Jul 26 01:42:42 2012
Log:      Fix cctests when VFP is disabled.

[email protected]
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10820027
http://code.google.com/p/v8/source/detail?r=12197

Modified:
 /branches/bleeding_edge/src/arm/builtins-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/builtins-arm.cc     Wed Jul 25 08:26:16 2012
+++ /branches/bleeding_edge/src/arm/builtins-arm.cc     Thu Jul 26 01:42:42 2012
@@ -1283,7 +1283,10 @@

 void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
   CpuFeatures::TryForceFeatureScope scope(VFP3);
-  ASSERT(CPU::SupportsCrankshaft());
+  if (!CPU::SupportsCrankshaft()) {
+    __ Abort("Unreachable code: Cannot optimize without VFP3 support.");
+    return;
+  }

   // Lookup the function in the JavaScript frame and push it as an
   // argument to the on-stack replacement function.

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

Reply via email to