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

Unified Diff: test/cctest/test-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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x64/debug-x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-debug.cc
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
index d66d97f1337564287bcaf65572357b9523af0880..3cc35e75f0f91f887ecdfe11d495f01159ad76a6 100644
--- a/test/cctest/test-debug.cc
+++ b/test/cctest/test-debug.cc
@@ -1090,6 +1090,15 @@ TEST(DebugStub) {
Builtins::kKeyedLoadIC_DebugBreak));
#endif
+ CheckDebugBreakFunction(
+ &env,
+ "function f6(a){return a==null;}",
+ "f6",
+ 0,
+ v8::internal::RelocInfo::CODE_TARGET,
+ Isolate::Current()->builtins()->builtin(
+ Builtins::kCompareNilIC_DebugBreak));
+
// Check the debug break code stubs for call ICs with different number of
// parameters.
Handle<Code> debug_break_0 = v8::internal::ComputeCallDebugBreak(0);
« no previous file with comments | « src/x64/debug-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698