Index: src/codegen.h |
diff --git a/src/codegen.h b/src/codegen.h |
index 0ac68c2eac7c52bf493b93de0c0bac4e722f6378..f8a26f0a31b85774103689ee88512b6fe7ee7525 100644 |
--- a/src/codegen.h |
+++ b/src/codegen.h |
@@ -96,9 +96,15 @@ UnaryMathFunction CreateSqrtFunction(); |
class ElementsTransitionGenerator : public AllStatic { |
public: |
- static void GenerateMapChangeElementsTransition(MacroAssembler* masm); |
- static void GenerateSmiToDouble(MacroAssembler* masm, Label* fail); |
- static void GenerateDoubleToObject(MacroAssembler* masm, Label* fail); |
+ // allocation_site_info_found may be null, if mode is |
Toon Verwaest
2013/01/16 10:53:42
If |mode| is set to DONT_TRACK_ALLOCATION_SITE_INF
mvstanton
2013/01/16 13:01:56
Done.
|
+ // DONT_TRACK_ALLOCATION_SITE_INFO. |
+ static void GenerateMapChangeElementsTransition(MacroAssembler* masm, |
+ AllocationSiteInfoMode mode, |
+ Label* allocation_site_info_found); |
+ static void GenerateSmiToDouble(MacroAssembler* masm, |
+ AllocationSiteInfoMode mode, Label* fail); |
+ static void GenerateDoubleToObject(MacroAssembler* masm, |
+ AllocationSiteInfoMode mode, Label* fail); |
private: |
DISALLOW_COPY_AND_ASSIGN(ElementsTransitionGenerator); |