Revision: 16664
Author: [email protected]
Date: Wed Sep 11 20:04:51 2013 UTC
Log: Revert "Fix leftover usage of OS::Allocate()."
[email protected]
Review URL: https://codereview.chromium.org/23691049
http://code.google.com/p/v8/source/detail?r=16664
Modified:
/branches/bleeding_edge/src/x64/codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/codegen-x64.cc Wed Sep 11 18:30:01 2013
UTC
+++ /branches/bleeding_edge/src/x64/codegen-x64.cc Wed Sep 11 20:04:51 2013
UTC
@@ -159,10 +159,9 @@
// Define custom fmod implementation.
ModuloFunction CreateModuloFunction() {
size_t actual_size;
- byte* buffer = static_cast<byte*>(VirtualMemory::AllocateRegion(
- Assembler::kMinimalBufferSize,
- &actual_size,
- VirtualMemory::EXECUTABLE));
+ byte* buffer =
static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
+ &actual_size,
+ true));
CHECK(buffer);
Assembler masm(NULL, buffer, static_cast<int>(actual_size));
// Generated code is put into a fixed, unmovable, buffer, and not into
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.