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

Side by Side Diff: src/debug.cc

Issue 7911: Various API changes (Closed)
Patch Set: "Various API changes Created 12 years, 2 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 | « src/debug.h ('k') | src/handles.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 // Default call debugger on uncaught exception. 445 // Default call debugger on uncaught exception.
446 bool Debug::break_on_exception_ = false; 446 bool Debug::break_on_exception_ = false;
447 bool Debug::break_on_uncaught_exception_ = true; 447 bool Debug::break_on_uncaught_exception_ = true;
448 448
449 Handle<Context> Debug::debug_context_ = Handle<Context>(); 449 Handle<Context> Debug::debug_context_ = Handle<Context>();
450 Code* Debug::debug_break_return_entry_ = NULL; 450 Code* Debug::debug_break_return_entry_ = NULL;
451 Code* Debug::debug_break_return_ = NULL; 451 Code* Debug::debug_break_return_ = NULL;
452 452
453 453
454 void Debug::HandleWeakDebugInfo(v8::Persistent<v8::Object> obj, void* data) { 454 void Debug::HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data) {
455 DebugInfoListNode* node = reinterpret_cast<DebugInfoListNode*>(data); 455 DebugInfoListNode* node = reinterpret_cast<DebugInfoListNode*>(data);
456 RemoveDebugInfo(node->debug_info()); 456 RemoveDebugInfo(node->debug_info());
457 #ifdef DEBUG 457 #ifdef DEBUG
458 node = Debug::debug_info_list_; 458 node = Debug::debug_info_list_;
459 while (node != NULL) { 459 while (node != NULL) {
460 ASSERT(node != reinterpret_cast<DebugInfoListNode*>(data)); 460 ASSERT(node != reinterpret_cast<DebugInfoListNode*>(data));
461 node = node->next(); 461 node = node->next();
462 } 462 }
463 #endif 463 #endif
464 } 464 }
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 } 1963 }
1964 1964
1965 1965
1966 void LockingMessageQueue::Clear() { 1966 void LockingMessageQueue::Clear() {
1967 ScopedLock sl(lock_); 1967 ScopedLock sl(lock_);
1968 queue_.Clear(); 1968 queue_.Clear();
1969 } 1969 }
1970 1970
1971 1971
1972 } } // namespace v8::internal 1972 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/debug.h ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698