Index: src/codegen-inl.h |
=================================================================== |
--- src/codegen-inl.h (revision 1936) |
+++ src/codegen-inl.h (working copy) |
@@ -30,10 +30,19 @@ |
#define V8_CODEGEN_INL_H_ |
#include "codegen.h" |
+#include "register-allocator-inl.h" |
namespace v8 { namespace internal { |
+void DeferredCode::SetEntryFrame(Result* arg) { |
+ ASSERT(generator()->has_valid_frame()); |
+ generator()->frame()->Push(arg); |
+ enter()->set_entry_frame(new VirtualFrame(generator()->frame())); |
+ *arg = generator()->frame()->Pop(); |
+} |
+ |
+ |
// ----------------------------------------------------------------------------- |
// Support for "structured" code comments. |
// |