Chromium Code Reviews| Index: src/debug.cc |
| =================================================================== |
| --- src/debug.cc (revision 3626) |
| +++ src/debug.cc (working copy) |
| @@ -125,7 +125,9 @@ |
| if (RelocInfo::IsCodeTarget(rmode())) { |
| Address target = original_rinfo()->target_address(); |
| Code* code = Code::GetCodeFromTargetAddress(target); |
| - if (code->is_inline_cache_stub() || RelocInfo::IsConstructCall(rmode())) { |
| + if ((code->is_inline_cache_stub() |
| + && code->kind() != Code::BINARY_OP_IC) || |
|
Mads Ager (chromium)
2010/01/22 12:14:26
I would put the '&&' on the previous line.
if ((c
vladislav.kaznacheev
2010/01/22 14:09:42
Done.
|
| + RelocInfo::IsConstructCall(rmode())) { |
| break_point_++; |
| return; |
| } |
| @@ -1367,6 +1369,7 @@ |
| Handle<Code>(Builtins::builtin(Builtins::KeyedStoreIC_DebugBreak)); |
| return result; |
| } |
| + UNREACHABLE(); |
| } |
| if (RelocInfo::IsConstructCall(mode)) { |
| Handle<Code> result = |