Author: [EMAIL PROTECTED]
Date: Thu Dec 11 02:25:08 2008
New Revision: 962

Modified:
    branches/experimental/toiger/src/codegen.cc

Log:
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.
Review URL: http://codereview.chromium.org/13383

Modified: branches/experimental/toiger/src/codegen.cc
==============================================================================
--- branches/experimental/toiger/src/codegen.cc (original)
+++ branches/experimental/toiger/src/codegen.cc Thu Dec 11 02:25:08 2008
@@ -64,6 +64,7 @@
      }
      // Bind labels and generate the code.
      code->enter()->Bind();
+    frame_->SpillAll();
      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