Reviewers: Kevin Millikin,
Description:
Change an invalid assert
BUG=v8:1079
Please review this at http://codereview.chromium.org/6332019/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/frames.cc
M test/cctest/cctest.status
Index: src/frames.cc
===================================================================
--- src/frames.cc (revision 6503)
+++ src/frames.cc (working copy)
@@ -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(),
Index: test/cctest/cctest.status
===================================================================
--- test/cctest/cctest.status (revision 6503)
+++ test/cctest/cctest.status (working copy)
@@ -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