Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 8772) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -255,6 +255,7 @@ |
ASSERT(desc.reloc_size == 0); |
CPU::FlushICache(buffer, actual_size); |
+ OS::ProtectCode(buffer, actual_size); |
return FUNCTION_CAST<OS::MemCopyFunction>(buffer); |
} |