Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: src/debug.cc

Issue 14106011: Allow setting debugger breakpoints on CompareNilICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/debug.h ('k') | src/ia32/debug-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 1637
1638 case Code::STORE_IC: 1638 case Code::STORE_IC:
1639 return isolate->builtins()->StoreIC_DebugBreak(); 1639 return isolate->builtins()->StoreIC_DebugBreak();
1640 1640
1641 case Code::KEYED_LOAD_IC: 1641 case Code::KEYED_LOAD_IC:
1642 return isolate->builtins()->KeyedLoadIC_DebugBreak(); 1642 return isolate->builtins()->KeyedLoadIC_DebugBreak();
1643 1643
1644 case Code::KEYED_STORE_IC: 1644 case Code::KEYED_STORE_IC:
1645 return isolate->builtins()->KeyedStoreIC_DebugBreak(); 1645 return isolate->builtins()->KeyedStoreIC_DebugBreak();
1646 1646
1647 case Code::COMPARE_NIL_IC:
1648 return isolate->builtins()->CompareNilIC_DebugBreak();
1649
1647 default: 1650 default:
1648 UNREACHABLE(); 1651 UNREACHABLE();
1649 } 1652 }
1650 } 1653 }
1651 if (RelocInfo::IsConstructCall(mode)) { 1654 if (RelocInfo::IsConstructCall(mode)) {
1652 if (code->has_function_cache()) { 1655 if (code->has_function_cache()) {
1653 return isolate->builtins()->CallConstructStub_Recording_DebugBreak(); 1656 return isolate->builtins()->CallConstructStub_Recording_DebugBreak();
1654 } else { 1657 } else {
1655 return isolate->builtins()->CallConstructStub_DebugBreak(); 1658 return isolate->builtins()->CallConstructStub_DebugBreak();
1656 } 1659 }
(...skipping 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after
3795 { 3798 {
3796 Locker locker(reinterpret_cast<v8::Isolate*>(isolate_)); 3799 Locker locker(reinterpret_cast<v8::Isolate*>(isolate_));
3797 isolate_->debugger()->CallMessageDispatchHandler(); 3800 isolate_->debugger()->CallMessageDispatchHandler();
3798 } 3801 }
3799 } 3802 }
3800 } 3803 }
3801 3804
3802 #endif // ENABLE_DEBUGGER_SUPPORT 3805 #endif // ENABLE_DEBUGGER_SUPPORT
3803 3806
3804 } } // namespace v8::internal 3807 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/debug.h ('k') | src/ia32/debug-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698