Reviewers: Mads Ager,

Description:
Experimental: disable fast case switches for now.  See:

http://code.google.com/p/v8/issues/detail?id=238


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

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

Affected files:
   M     src/codegen.cc


Index: src/codegen.cc
===================================================================
--- src/codegen.cc      (revision 1361)
+++ src/codegen.cc      (working copy)
@@ -471,6 +471,11 @@


  bool CodeGenerator::TryGenerateFastCaseSwitchStatement(SwitchStatement*  
node) {
+  // TODO(238): Due to issue 238, fast case switches can crash on ARM
+  // and possibly IA32.  They are disabled for now.
+  // See http://code.google.com/p/v8/issues/detail?id=238
+  return false;
+
    ZoneList<CaseClause*>* cases = node->cases();
    int length = cases->length();




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

Reply via email to