Revision: 19420
Author:   [email protected]
Date:     Mon Feb 17 17:37:55 2014 UTC
Log:      A64: fix cctest/test-code-stubs-a64/ConvertDToI.

[email protected]

Review URL: https://codereview.chromium.org/169863002

Patch from Ulan Degenbaev <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19420

Modified:
 /branches/bleeding_edge/test/cctest/test-code-stubs-a64.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-code-stubs-a64.cc Mon Feb 17 15:46:29 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-code-stubs-a64.cc Mon Feb 17 17:37:55 2014 UTC
@@ -46,8 +46,8 @@
                                               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);

--
--
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.

Reply via email to