Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 511b1c868867d2a3a75955c42e060e8dcb903b62..4be27ceeabaaec16394ce63a4965e8ed0f563a42 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -179,17 +179,6 @@ bool RelocInfo::IsInConstantPool() { |
} |
-void RelocInfo::PatchCode(byte* instructions, int instruction_count) { |
- // Patch the code at the current address with the supplied instructions. |
- for (int i = 0; i < instruction_count; i++) { |
- *(pc_ + i) = *(instructions + i); |
- } |
- |
- // Indicate that code has changed. |
- CpuFeatures::FlushICache(pc_, instruction_count); |
-} |
- |
- |
// Patch the code at the current PC with a call to the target address. |
// Additional guard int3 instructions can be added if required. |
void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { |