Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index b3fce81a32fda8679333d01b0f9341445d2c4255..586ffef5cc0321708ed68ac9973df4236f5ab350 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -952,7 +952,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); |