Revision: 19297
Author:   [email protected]
Date:     Tue Feb 11 18:52:28 2014 UTC
Log:      A64: Fix ArrayConstructorStub and remove GCC 4.8 specific flags.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/137753011
http://code.google.com/p/v8/source/detail?r=19297

Modified:
 /branches/experimental/a64/build/toolchain.gypi
 /branches/experimental/a64/src/a64/code-stubs-a64.cc

=======================================
--- /branches/experimental/a64/build/toolchain.gypi Fri Feb 7 21:04:58 2014 UTC +++ /branches/experimental/a64/build/toolchain.gypi Tue Feb 11 18:52:28 2014 UTC
@@ -520,10 +520,7 @@
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
                         '-Wnon-virtual-dtor', '-Woverloaded-virtual',
                         '<(wno_array_bounds)',
-                        # Hide some GCC 4.8 warnings:
-                        # TODO(jbramley): Only enable these on GCC 4.8.
-                        '-Wno-unused-local-typedefs',
-                        '-Wno-maybe-uninitialized' ],
+                      ],
             'conditions': [
               ['v8_optimized_debug==0', {
                 'cflags!': [
@@ -625,10 +622,6 @@
               '-fdata-sections',
               '-ffunction-sections',
               '<(wno_array_bounds)',
-              # Hide some GCC 4.8 warnings:
-              # TODO(jbramley): Only enable these on GCC 4.8.
-              '-Wno-unused-local-typedefs',
-              '-Wno-maybe-uninitialized',
             ],
             'conditions': [
               [ 'gcc_version==44 and clang==0', {
=======================================
--- /branches/experimental/a64/src/a64/code-stubs-a64.cc Tue Feb 11 17:36:50 2014 UTC +++ /branches/experimental/a64/src/a64/code-stubs-a64.cc Tue Feb 11 18:52:28 2014 UTC
@@ -5429,10 +5429,10 @@

// In feedback_vector, we expect either undefined or a valid fixed array.
     Label okay_here;
-    Handle<Map> cell_map = masm->isolate()->factory()->cell_map();
+ Handle<Map> fixed_array_map = masm->isolate()->factory()->fixed_array_map(); __ JumpIfRoot(feedback_vector, Heap::kUndefinedValueRootIndex, &okay_here);
-    __ Ldr(x10, FieldMemOperand(feedback_vector, Cell::kMapOffset));
-    __ Cmp(x10, Operand(cell_map));
+    __ Ldr(x10, FieldMemOperand(feedback_vector, FixedArray::kMapOffset));
+    __ Cmp(x10, Operand(fixed_array_map));
     __ Assert(eq, kExpectedFixedArrayInFeedbackVector);

// slot_index should be a smi if we don't have undefined in feedback_vector.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to