Revision: 6509
Author: [email protected]
Date: Thu Jan 27 03:55:58 2011
Log: Change an invalid assert

BUG=v8:1079
Review URL: http://codereview.chromium.org/6332019
http://code.google.com/p/v8/source/detail?r=6509

Modified:
 /branches/bleeding_edge/src/frames.cc
 /branches/bleeding_edge/test/cctest/cctest.status

=======================================
--- /branches/bleeding_edge/src/frames.cc       Mon Jan 17 04:52:06 2011
+++ /branches/bleeding_edge/src/frames.cc       Thu Jan 27 03:55:58 2011
@@ -695,7 +695,7 @@
   ASSERT(frames->length() == 0);
   ASSERT(is_optimized());

-  int deopt_index = AstNode::kNoNumber;
+  int deopt_index = Safepoint::kNoDeoptimizationIndex;
   DeoptimizationInputData* data = GetDeoptimizationData(&deopt_index);

   // BUG(3243555): Since we don't have a lazy-deopt registered at
@@ -793,7 +793,7 @@

   SafepointEntry safepoint_entry = code->GetSafepointEntry(pc());
   *deopt_index = safepoint_entry.deoptimization_index();
-  ASSERT(*deopt_index != AstNode::kNoNumber);
+  ASSERT(*deopt_index != Safepoint::kNoDeoptimizationIndex);

   return DeoptimizationInputData::cast(code->deoptimization_data());
 }
@@ -803,7 +803,7 @@
   ASSERT(functions->length() == 0);
   ASSERT(is_optimized());

-  int deopt_index = AstNode::kNoNumber;
+  int deopt_index = Safepoint::kNoDeoptimizationIndex;
   DeoptimizationInputData* data = GetDeoptimizationData(&deopt_index);

   TranslationIterator it(data->TranslationByteArray(),
=======================================
--- /branches/bleeding_edge/test/cctest/cctest.status Wed Jan 26 05:26:36 2011 +++ /branches/bleeding_edge/test/cctest/cctest.status Thu Jan 27 03:55:58 2011
@@ -51,6 +51,8 @@
 test-serialize/TestThatAlwaysFails: FAIL
 test-serialize/DependentTestThatAlwaysFails: FAIL

+# BUG(1079)
+test-api/CaptureStackTraceForUncaughtException: FAIL

##############################################################################
 [ $arch == x64 ]

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

Reply via email to