Index: src/x64/assembler-x64.cc |
=================================================================== |
--- src/x64/assembler-x64.cc (revision 3088) |
+++ src/x64/assembler-x64.cc (working copy) |
@@ -393,7 +393,7 @@ |
// Some internal data structures overflow for very large buffers, |
// they must ensure that kMaximalBufferSize is not too large. |
if ((desc.buffer_size > kMaximalBufferSize) || |
- (desc.buffer_size > Heap::OldGenerationSize())) { |
+ (desc.buffer_size > Heap::MaxOldGenerationSize())) { |
V8::FatalProcessOutOfMemory("Assembler::GrowBuffer"); |
} |