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

Side by Side Diff: test/cctest/test-debug.cc

Issue 6474026: Strict mode assignment to undefined reference. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix presubmit. Created 9 years, 10 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 DebugLocalContext env; 990 DebugLocalContext env;
991 991
992 CheckDebugBreakFunction(&env, 992 CheckDebugBreakFunction(&env,
993 "function f1(){}", "f1", 993 "function f1(){}", "f1",
994 0, 994 0,
995 v8::internal::RelocInfo::JS_RETURN, 995 v8::internal::RelocInfo::JS_RETURN,
996 NULL); 996 NULL);
997 CheckDebugBreakFunction(&env, 997 CheckDebugBreakFunction(&env,
998 "function f2(){x=1;}", "f2", 998 "function f2(){x=1;}", "f2",
999 0, 999 0,
1000 v8::internal::RelocInfo::CODE_TARGET, 1000 v8::internal::RelocInfo::CODE_TARGET_CONTEXT,
1001 Builtins::builtin(Builtins::StoreIC_DebugBreak)); 1001 Builtins::builtin(Builtins::StoreIC_DebugBreak));
1002 CheckDebugBreakFunction(&env, 1002 CheckDebugBreakFunction(&env,
1003 "function f3(){var a=x;}", "f3", 1003 "function f3(){var a=x;}", "f3",
1004 0, 1004 0,
1005 v8::internal::RelocInfo::CODE_TARGET_CONTEXT, 1005 v8::internal::RelocInfo::CODE_TARGET_CONTEXT,
1006 Builtins::builtin(Builtins::LoadIC_DebugBreak)); 1006 Builtins::builtin(Builtins::LoadIC_DebugBreak));
1007 1007
1008 // TODO(1240753): Make the test architecture independent or split 1008 // TODO(1240753): Make the test architecture independent or split
1009 // parts of the debugger into architecture dependent files. This 1009 // parts of the debugger into architecture dependent files. This
1010 // part currently disabled as it is not portable between IA32/ARM. 1010 // part currently disabled as it is not portable between IA32/ARM.
(...skipping 6183 matching lines...) Expand 10 before | Expand all | Expand 10 after
7194 TestDebugBreakInLoop("for (;;) {", loop_bodies, "}"); 7194 TestDebugBreakInLoop("for (;;) {", loop_bodies, "}");
7195 TestDebugBreakInLoop("for (;a == 1;) {", loop_bodies, "}"); 7195 TestDebugBreakInLoop("for (;a == 1;) {", loop_bodies, "}");
7196 7196
7197 // Get rid of the debug event listener. 7197 // Get rid of the debug event listener.
7198 v8::Debug::SetDebugEventListener(NULL); 7198 v8::Debug::SetDebugEventListener(NULL);
7199 CheckDebuggerUnloaded(); 7199 CheckDebuggerUnloaded();
7200 } 7200 }
7201 7201
7202 7202
7203 #endif // ENABLE_DEBUGGER_SUPPORT 7203 #endif // ENABLE_DEBUGGER_SUPPORT
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698