Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index f5cb5e4892ccb81c39b60f7ec3e444fca97b535c..967bb5b35b6aa16a6e6b8490eb214dc481d6fb16 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -702,7 +702,7 @@ void Code::PatchPlatformCodeAge(byte* sequence, |
uint32_t young_length; |
byte* young_sequence = GetNoCodeAgeSequence(&young_length); |
if (age == kNoAge) { |
- memcpy(sequence, young_sequence, young_length); |
+ CopyBytes(sequence, young_sequence, young_length); |
CPU::FlushICache(sequence, young_length); |
} else { |
Code* stub = GetCodeAgeStub(age, parity); |