Index: src/codegen.h |
diff --git a/src/codegen.h b/src/codegen.h |
index e551abfb11a88d606cdd1829af6f82b12653cc1c..5360d3ef3caae22c24ccbdda28488770a8823d97 100644 |
--- a/src/codegen.h |
+++ b/src/codegen.h |
@@ -81,4 +81,19 @@ enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; |
#error Unsupported target architecture. |
#endif |
+namespace v8 { |
+namespace internal { |
+ |
+class ElementsTransitionGenerator : public AllStatic { |
+ public: |
+ static void GenerateSmiOnlyToObject(MacroAssembler* masm); |
+ static void GenerateSmiOnlyToDouble(MacroAssembler* masm, Label* fail); |
+ static void GenerateDoubleToObject(MacroAssembler* masm, Label* fail); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ElementsTransitionGenerator); |
+}; |
+ |
+} } // namespace v8::internal |
+ |
#endif // V8_CODEGEN_H_ |