Reviewers: Mads Ager,

Description:
Experimental: all the deferred code currently uses registers freely,
so the frame needs to be spilled on entry.  This works for now, but we
will soon want to thread a register allocator state to each of the
deferred code snippets.

Please review this at http://codereview.chromium.org/13383

SVN Base: http://v8.googlecode.com/svn/branches/experimental/toiger/

Affected files:
   M     src/codegen.cc


Index: src/codegen.cc
===================================================================
--- src/codegen.cc      (revision 961)
+++ src/codegen.cc      (working copy)
@@ -64,6 +64,7 @@
      }
      // Bind labels and generate the code.
      code->enter()->Bind();
+    frame_->SpillAll(0);
      Comment cmnt(masm, code->comment());
      code->Generate();
      if (code->exit()->is_bound()) {



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to