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

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

Issue 1935: New static flags system (Closed)
Patch Set: Merge, again. Created 12 years, 3 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
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/cctest/test-flags.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 using ::v8::internal::Debugger; 47 using ::v8::internal::Debugger;
48 using ::v8::internal::StepAction; 48 using ::v8::internal::StepAction;
49 using ::v8::internal::StepIn; // From StepAction enum 49 using ::v8::internal::StepIn; // From StepAction enum
50 using ::v8::internal::StepNext; // From StepAction enum 50 using ::v8::internal::StepNext; // From StepAction enum
51 using ::v8::internal::StepOut; // From StepAction enum 51 using ::v8::internal::StepOut; // From StepAction enum
52 52
53 53
54 // Size of temp buffer for formatting small strings. 54 // Size of temp buffer for formatting small strings.
55 #define SMALL_STRING_BUFFER_SIZE 80 55 #define SMALL_STRING_BUFFER_SIZE 80
56 56
57 #ifdef DEBUG
58 namespace v8 { namespace internal {
59 DECLARE_bool(verify_heap);
60 } }
61 #endif
62
63 // --- A d d i t i o n a l C h e c k H e l p e r s 57 // --- A d d i t i o n a l C h e c k H e l p e r s
64 58
65 59
66 // Helper function used by the CHECK_EQ function when given Address 60 // Helper function used by the CHECK_EQ function when given Address
67 // arguments. Should not be called directly. 61 // arguments. Should not be called directly.
68 static inline void CheckEqualsHelper(const char* file, int line, 62 static inline void CheckEqualsHelper(const char* file, int line,
69 const char* expected_source, 63 const char* expected_source,
70 ::v8::internal::Address expected, 64 ::v8::internal::Address expected,
71 const char* value_source, 65 const char* value_source,
72 ::v8::internal::Address value) { 66 ::v8::internal::Address value) {
(...skipping 3054 matching lines...) Expand 10 before | Expand all | Expand 10 after
3127 Barriers stack_allocated_breakpoints_barriers; 3121 Barriers stack_allocated_breakpoints_barriers;
3128 stack_allocated_breakpoints_barriers.Initialize(); 3122 stack_allocated_breakpoints_barriers.Initialize();
3129 breakpoints_barriers = &stack_allocated_breakpoints_barriers; 3123 breakpoints_barriers = &stack_allocated_breakpoints_barriers;
3130 3124
3131 breakpoints_v8_thread.Start(); 3125 breakpoints_v8_thread.Start();
3132 breakpoints_debugger_thread.Start(); 3126 breakpoints_debugger_thread.Start();
3133 3127
3134 breakpoints_v8_thread.Join(); 3128 breakpoints_v8_thread.Join();
3135 breakpoints_debugger_thread.Join(); 3129 breakpoints_debugger_thread.Join();
3136 } 3130 }
OLDNEW
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/cctest/test-flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698