R=danno@google.com
Review URL: https://codereview.chromium.org/
169863002
Patch from Ulan Degenbaev <ulan@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19420
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Register destination_reg,
bool inline_fastpath) {
// Allocate an executable page of memory.
- size_t actual_size;
- byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
+ size_t actual_size = 2 * Assembler::kMinimalBufferSize;
+ byte* buffer = static_cast<byte*>(OS::Allocate(actual_size,
&actual_size,
true));
CHECK(buffer);