Index: src/codegen.h |
diff --git a/src/codegen.h b/src/codegen.h |
index 2fe796c5dd9ac4974b31403e7b2d081c2bbbf8c5..e01a3982a016f90a8e1b461e3d7bb395a48e9c29 100644 |
--- a/src/codegen.h |
+++ b/src/codegen.h |
@@ -117,15 +117,30 @@ class ElementsTransitionGenerator : public AllStatic { |
public: |
// If |mode| is set to DONT_TRACK_ALLOCATION_SITE, |
// |allocation_memento_found| may be NULL. |
- static void GenerateMapChangeElementsTransition(MacroAssembler* masm, |
+ static void GenerateMapChangeElementsTransition( |
+ MacroAssembler* masm, |
+ Register receiver, |
+ Register key, |
+ Register value, |
+ Register target_map, |
AllocationSiteMode mode, |
Label* allocation_memento_found); |
- static void GenerateSmiToDouble(MacroAssembler* masm, |
- AllocationSiteMode mode, |
- Label* fail); |
- static void GenerateDoubleToObject(MacroAssembler* masm, |
- AllocationSiteMode mode, |
- Label* fail); |
+ static void GenerateSmiToDouble( |
+ MacroAssembler* masm, |
+ Register receiver, |
+ Register key, |
+ Register value, |
+ Register target_map, |
+ AllocationSiteMode mode, |
+ Label* fail); |
+ static void GenerateDoubleToObject( |
+ MacroAssembler* masm, |
+ Register receiver, |
+ Register key, |
+ Register value, |
+ Register target_map, |
+ AllocationSiteMode mode, |
+ Label* fail); |
private: |
DISALLOW_COPY_AND_ASSIGN(ElementsTransitionGenerator); |