Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index f03025cbfbefbc85d1a16e3b951ebb2e2a5c2b69..8a07afe700878d4121a1209b5c4eaee5e008bf8d 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2130,7 +2130,7 @@ void Deoptimizer::EnsureCodeForDeoptimizationEntry(Isolate* isolate, |
ASSERT(static_cast<int>(Deoptimizer::GetMaxDeoptTableSize()) >= |
desc.instr_size); |
chunk->CommitArea(desc.instr_size); |
- memcpy(chunk->area_start(), desc.buffer, desc.instr_size); |
+ CopyBytes(chunk->area_start(), desc.buffer, desc.instr_size); |
CPU::FlushICache(chunk->area_start(), desc.instr_size); |
if (type == EAGER) { |