Reviewers: Igor Sheludko,

Message:
PTAL

Description:
Allocate kMinimalBufferSize buffers in lithium
BUG=

Please review this at https://codereview.chromium.org/443023003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -1 lines):
  M src/lithium.cc


Index: src/lithium.cc
diff --git a/src/lithium.cc b/src/lithium.cc
index a8d4d22ab5cad967e732826aa2510d7266754dce..01d78661e30a96af2669789552441b1bdfab4744 100644
--- a/src/lithium.cc
+++ b/src/lithium.cc
@@ -457,7 +457,8 @@ LChunk* LChunk::NewChunk(HGraph* graph) {


 Handle<Code> LChunk::Codegen() {
-  MacroAssembler assembler(info()->isolate(), NULL, 0);
+  MacroAssembler assembler(info()->isolate(), NULL,
+                           Assembler::kMinimalBufferSize);
   LOG_CODE_EVENT(info()->isolate(),
                  CodeStartLinePosInfoRecordEvent(
                      assembler.positions_recorder()));


--
--
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/d/optout.

Reply via email to