Index: src/x87/assembler-x87-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/x87/assembler-x87-inl.h |
similarity index 97% |
copy from src/ia32/assembler-ia32-inl.h |
copy to src/x87/assembler-x87-inl.h |
index 913e1c1aaa8381c3700291ce772335e117dd4e20..56e82501f115771b176b122ff7725aedee9817e6 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/x87/assembler-x87-inl.h |
@@ -34,10 +34,10 @@ |
// A light-weight IA32 Assembler. |
-#ifndef V8_IA32_ASSEMBLER_IA32_INL_H_ |
-#define V8_IA32_ASSEMBLER_IA32_INL_H_ |
+#ifndef V8_X87_ASSEMBLER_X87_INL_H_ |
+#define V8_X87_ASSEMBLER_X87_INL_H_ |
-#include "ia32/assembler-ia32.h" |
+#include "x87/assembler-x87.h" |
#include "cpu.h" |
#include "debug.h" |
@@ -45,7 +45,7 @@ |
namespace v8 { |
namespace internal { |
-bool CpuFeatures::SupportsCrankshaft() { return true; } |
+bool CpuFeatures::SupportsCrankshaft() { return false; } |
static const byte kCallOpcode = 0xE8; |
@@ -63,7 +63,7 @@ void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) { |
if (*pc_ == kCallOpcode) { |
int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); |
*p -= delta; // Relocate entry. |
- if (flush_icache) CPU::FlushICache(p, sizeof(uint32_t)); |
+ if (flush_icache) CPU::FlushICache(p, sizeof(uint32_t)); |
} |
} else if (rmode_ == JS_RETURN && IsPatchedReturnSequence()) { |
// Special handling of js_return when a break point is set (call |
@@ -115,6 +115,7 @@ void RelocInfo::set_target_address(Address target, |
WriteBarrierMode write_barrier_mode, |
ICacheFlushMode icache_flush_mode) { |
Assembler::set_target_address_at(pc_, host_, target, icache_flush_mode); |
+ Assembler::set_target_address_at(pc_, host_, target); |
ASSERT(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && host() != NULL && |
IsCodeTarget(rmode_)) { |
@@ -549,12 +550,6 @@ Operand::Operand(Register reg) { |
} |
-Operand::Operand(XMMRegister xmm_reg) { |
- Register reg = { xmm_reg.code() }; |
- set_modrm(3, reg); |
-} |
- |
- |
Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { |
// [disp/r] |
set_modrm(0, ebp); |
@@ -563,4 +558,4 @@ Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { |
} } // namespace v8::internal |
-#endif // V8_IA32_ASSEMBLER_IA32_INL_H_ |
+#endif // V8_X87_ASSEMBLER_X87_INL_H_ |