Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index b31a63ac6bdef09028f9de6abc0e70f3ef5b3cf9..8a47e720e10aaa6fd7cae40493730e04b5979e7d 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -10176,14 +10176,13 @@ static void MemCopyWrapper(void* dest, const void* src, size_t size) { |
OS::MemCopyFunction CreateMemCopyFunction() { |
- HandleScope scope; |
size_t actual_size; |
// Allocate buffer in executable space. |
byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB, |
&actual_size, |
true)); |
if (buffer == NULL) return &MemCopyWrapper; |
- MacroAssembler masm(buffer, static_cast<int>(actual_size)); |
+ MacroAssembler masm(NULL, buffer, static_cast<int>(actual_size)); |
// Generated code is put into a fixed, unmovable, buffer, and not into |
// the V8 heap. We can't, and don't, refer to any relocatable addresses |