Author: [email protected]
Date: Wed Jul  8 02:46:26 2009
New Revision: 2388

Modified:
    branches/bleeding_edge/SConstruct
    branches/bleeding_edge/src/compilation-cache.cc

Log:
X64: Turn of gcc strict-aliasing optimization for X64 release.
Review URL: http://codereview.chromium.org/155208

Modified: branches/bleeding_edge/SConstruct
==============================================================================
--- branches/bleeding_edge/SConstruct   (original)
+++ branches/bleeding_edge/SConstruct   Wed Jul  8 02:46:26 2009
@@ -172,6 +172,7 @@
        'CPPDEFINES':   ['V8_TARGET_ARCH_ARM']
      },
      'arch:x64': {
+      'CCFLAGS':      ['-fno-strict-aliasing'],
        'CPPDEFINES':   ['V8_TARGET_ARCH_X64']
      },
      'prof:oprofile': {

Modified: branches/bleeding_edge/src/compilation-cache.cc
==============================================================================
--- branches/bleeding_edge/src/compilation-cache.cc     (original)
+++ branches/bleeding_edge/src/compilation-cache.cc     Wed Jul  8 02:46:26 2009
@@ -281,6 +281,7 @@
    HandleScope scope;
    ASSERT(boilerplate->IsBoilerplate());
    Handle<CompilationCacheTable> table = GetTable(0);
+  // TODO(X64): -fstrict-aliasing causes a problem with table.  Fix it.
    CALL_HEAP_FUNCTION_VOID(table->Put(*source, *boilerplate));
  }


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

Reply via email to