Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 78585d8f642d8ee044117d1791e5c85b329025e4..a298bc454ee03da76b831a791ab22df6f27dff93 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -416,7 +416,7 @@ bool ToBooleanStub::Types::CanBeUndetectable() const { |
void FastElementsConversionStub::Generate(MacroAssembler* masm) { |
-#if defined(V8_TARGET_ARCH_IA32) |
+#if defined(V8_TARGET_ARCH_IA32) || defined(V8_TARGET_ARCH_X64) |
if (to_ == FAST_ELEMENTS) { |
if (from_ == FAST_SMI_ONLY_ELEMENTS) { |
GenerateSmiOnlyToObject(masm); |
@@ -436,7 +436,7 @@ void FastElementsConversionStub::Generate(MacroAssembler* masm) { |
} |
#else |
KeyedStoreIC::GenerateRuntimeSetProperty(masm, strict_mode_); |
-#endif // V8_TARGET_ARCH_IA32 |
+#endif // V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 |
} |
} } // namespace v8::internal |