Index: src/x87/ic-x87.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/x87/ic-x87.cc |
similarity index 99% |
copy from src/ia32/ic-ia32.cc |
copy to src/x87/ic-x87.cc |
index 91089519b6ab4ebc300a03517c4b4246f98b3665..b3468e748ab021af4b61899ba23bc74c29e58057 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/x87/ic-x87.cc |
@@ -4,7 +4,7 @@ |
#include "v8.h" |
-#if V8_TARGET_ARCH_IA32 |
+#if V8_TARGET_ARCH_X87 |
#include "codegen.h" |
#include "ic-inl.h" |
@@ -190,7 +190,7 @@ static void GenerateDictionaryStore(MacroAssembler* masm, |
// Update write barrier. Make sure not to clobber the value. |
__ mov(r1, value); |
- __ RecordWrite(elements, r0, r1, kDontSaveFPRegs); |
+ __ RecordWrite(elements, r0, r1); |
} |
@@ -672,7 +672,7 @@ void KeyedStoreIC::GenerateSloppyArguments(MacroAssembler* masm) { |
__ mov(mapped_location, eax); |
__ lea(ecx, mapped_location); |
__ mov(edx, eax); |
- __ RecordWrite(ebx, ecx, edx, kDontSaveFPRegs); |
+ __ RecordWrite(ebx, ecx, edx); |
__ Ret(); |
__ bind(¬in); |
// The unmapped lookup expects that the parameter map is in ebx. |
@@ -681,7 +681,7 @@ void KeyedStoreIC::GenerateSloppyArguments(MacroAssembler* masm) { |
__ mov(unmapped_location, eax); |
__ lea(edi, unmapped_location); |
__ mov(edx, eax); |
- __ RecordWrite(ebx, edi, edx, kDontSaveFPRegs); |
+ __ RecordWrite(ebx, edi, edx); |
__ Ret(); |
__ bind(&slow); |
GenerateMiss(masm); |
@@ -751,7 +751,7 @@ static void KeyedStoreGenerateGenericHelper( |
// Update write barrier for the elements array address. |
__ mov(edx, eax); // Preserve the value which is returned. |
__ RecordWriteArray( |
- ebx, edx, ecx, kDontSaveFPRegs, EMIT_REMEMBERED_SET, OMIT_SMI_CHECK); |
+ ebx, edx, ecx, EMIT_REMEMBERED_SET, OMIT_SMI_CHECK); |
__ ret(0); |
__ bind(fast_double); |
@@ -774,8 +774,8 @@ static void KeyedStoreGenerateGenericHelper( |
__ mov(ebx, FieldOperand(edx, JSObject::kElementsOffset)); |
__ bind(&fast_double_without_map_check); |
- __ StoreNumberToDoubleElements(eax, ebx, ecx, edi, xmm0, |
- &transition_double_elements); |
+ __ StoreNumberToDoubleElements(eax, ebx, ecx, edi, |
+ &transition_double_elements, false); |
if (increment_length == kIncrementLength) { |
// Add 1 to receiver->length. |
__ add(FieldOperand(edx, JSArray::kLengthOffset), |
@@ -1283,4 +1283,4 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
} } // namespace v8::internal |
-#endif // V8_TARGET_ARCH_IA32 |
+#endif // V8_TARGET_ARCH_X87 |