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

Side by Side Diff: src/debug/debug.cc

Issue 1370303004: Distinction between FeedbackVectorICSlot and FeedbackVectorSlot eliminated. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed release builds Created 5 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/compiler/js-type-feedback.cc ('k') | src/factory.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/debug/debug.h" 5 #include "src/debug/debug.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 DCHECK(shared->HasDebugCode()); 1496 DCHECK(shared->HasDebugCode());
1497 } else if (!Compiler::Compile(function, CLEAR_EXCEPTION)) { 1497 } else if (!Compiler::Compile(function, CLEAR_EXCEPTION)) {
1498 return false; 1498 return false;
1499 } 1499 }
1500 1500
1501 if (!PrepareFunctionForBreakPoints(shared)) return false; 1501 if (!PrepareFunctionForBreakPoints(shared)) return false;
1502 1502
1503 // Make sure IC state is clean. This is so that we correctly flood 1503 // Make sure IC state is clean. This is so that we correctly flood
1504 // accessor pairs when stepping in. 1504 // accessor pairs when stepping in.
1505 shared->code()->ClearInlineCaches(); 1505 shared->code()->ClearInlineCaches();
1506 shared->feedback_vector()->ClearICSlots(*shared); 1506 shared->ClearTypeFeedbackInfo();
1507 1507
1508 // Create the debug info object. 1508 // Create the debug info object.
1509 DCHECK(shared->HasDebugCode()); 1509 DCHECK(shared->HasDebugCode());
1510 Handle<DebugInfo> debug_info = isolate_->factory()->NewDebugInfo(shared); 1510 Handle<DebugInfo> debug_info = isolate_->factory()->NewDebugInfo(shared);
1511 1511
1512 // Add debug info to the list. 1512 // Add debug info to the list.
1513 DebugInfoListNode* node = new DebugInfoListNode(*debug_info); 1513 DebugInfoListNode* node = new DebugInfoListNode(*debug_info);
1514 node->set_next(debug_info_list_); 1514 node->set_next(debug_info_list_);
1515 debug_info_list_ = node; 1515 debug_info_list_ = node;
1516 1516
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
2580 } 2580 }
2581 2581
2582 2582
2583 void LockingCommandMessageQueue::Clear() { 2583 void LockingCommandMessageQueue::Clear() {
2584 base::LockGuard<base::Mutex> lock_guard(&mutex_); 2584 base::LockGuard<base::Mutex> lock_guard(&mutex_);
2585 queue_.Clear(); 2585 queue_.Clear();
2586 } 2586 }
2587 2587
2588 } // namespace internal 2588 } // namespace internal
2589 } // namespace v8 2589 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-type-feedback.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698