Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index bbea4d9dfb80efbfc5c3f5c1cb7ed56170f4d567..84478906919c07abcdc152eca18534a332168538 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -135,7 +135,7 @@ void LCodeGen::Comment(const char* format, ...) { |
// issues when the stack allocated buffer goes out of scope. |
size_t length = builder.position(); |
Vector<char> copy = Vector<char>::New(length + 1); |
- memcpy(copy.start(), builder.Finalize(), copy.length()); |
+ OS::MemCopy(copy.start(), builder.Finalize(), copy.length()); |
masm()->RecordComment(copy.start()); |
} |