Also skip unary op IC when iterating over break locations in the debugger.

Review URL: http://codereview.chromium.org/7040002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7962 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
fschneider@chromium.org 2011-05-19 13:14:12 +00:00
parent 7878391841
commit 742a001c00

View File

@ -168,6 +168,7 @@ void BreakLocationIterator::Next() {
Code* code = Code::GetCodeFromTargetAddress(target); Code* code = Code::GetCodeFromTargetAddress(target);
if ((code->is_inline_cache_stub() && if ((code->is_inline_cache_stub() &&
!code->is_type_recording_binary_op_stub() && !code->is_type_recording_binary_op_stub() &&
!code->is_type_recording_unary_op_stub() &&
!code->is_compare_ic_stub()) || !code->is_compare_ic_stub()) ||
RelocInfo::IsConstructCall(rmode())) { RelocInfo::IsConstructCall(rmode())) {
break_point_++; break_point_++;