Revision: 16004
Author:   [email protected]
Date:     Thu Aug  1 01:49:27 2013
Log: Pretenure heap number in high promotino mode if a store requires a mutable heap number to be allocated.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/21501002
http://code.google.com/p/v8/source/detail?r=16004

Modified:
 /branches/bleeding_edge/src/hydrogen.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Thu Aug  1 01:42:47 2013
+++ /branches/bleeding_edge/src/hydrogen.cc     Thu Aug  1 01:49:27 2013
@@ -4531,7 +4531,8 @@
       NoObservableSideEffectsScope no_side_effects(this);
       HInstruction* heap_number_size = Add<HConstant>(HeapNumber::kSize);
       HInstruction* heap_number = Add<HAllocate>(heap_number_size,
-          HType::HeapNumber(), NOT_TENURED, HEAP_NUMBER_TYPE);
+          HType::HeapNumber(), isolate()->heap()->GetPretenureMode(),
+          HEAP_NUMBER_TYPE);
AddStoreMapConstant(heap_number, isolate()->factory()->heap_number_map()); Add<HStoreNamedField>(heap_number, HObjectAccess::ForHeapNumberValue(),
                             value);

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