Author: [email protected]
Date: Fri Mar 13 01:51:50 2009
New Revision: 1505

Modified:
    trunk/src/api.cc
    trunk/src/jump-target.cc

Log:
Push the change to not leak reaching frames in case of stack overflows
to trunk.
Review URL: http://codereview.chromium.org/42172

Modified: trunk/src/api.cc
==============================================================================
--- trunk/src/api.cc    (original)
+++ trunk/src/api.cc    Fri Mar 13 01:51:50 2009
@@ -2200,7 +2200,7 @@


  const char* v8::V8::GetVersion() {
-  return "1.1.1";
+  return "1.1.1.1";
  }



Modified: trunk/src/jump-target.cc
==============================================================================
--- trunk/src/jump-target.cc    (original)
+++ trunk/src/jump-target.cc    Fri Mar 13 01:51:50 2009
@@ -74,11 +74,9 @@
    // to them.  In the event of a compile-time stack overflow or an
    // unitialized jump target, we don't care.
    ASSERT(!is_linked() || cgen_ == NULL || cgen_->HasStackOverflow());
-#ifdef DEBUG
    for (int i = 0; i < reaching_frames_.length(); i++) {
-    ASSERT(reaching_frames_[i] == NULL);
+    delete reaching_frames_[i];
    }
-#endif
    delete entry_frame_;

    Reset();

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

Reply via email to