Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index cc264f6aef251d4680e4bb4b1621353a74f18483..22179b74f31ce7d3d5a8dcfa81be3b3242c1ca77 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2822,6 +2822,15 @@ bool HeapObject::NeedsToEnsureDoubleAlignment() { |
} |
+bool HeapObject::NeedsToEnsureDoubleUnalignment() { |
+#ifndef V8_HOST_ARCH_64_BIT |
Benedikt Meurer
2015/05/12 09:08:39
I'd prefer #ifdef V8_HOST_ARCH_32_BIT here.
Hannes Payer (out of office)
2015/05/12 11:14:55
Done.
|
+ return IsHeapNumber(); |
+#else |
+ return false; |
+#endif // V8_HOST_ARCH_64_BIT |
+} |
+ |
+ |
void FixedArray::set(int index, |
Object* value, |
WriteBarrierMode mode) { |