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

Side by Side Diff: src/debug.cc

Issue 659313003: Fix compile issue. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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/v8.h" 5 #include "src/v8.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 1540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1551 return Handle<Object>(heap->undefined_value(), isolate); 1551 return Handle<Object>(heap->undefined_value(), isolate);
1552 } 1552 }
1553 Handle<FixedArray> locations = 1553 Handle<FixedArray> locations =
1554 isolate->factory()->NewFixedArray(debug_info->GetBreakPointCount()); 1554 isolate->factory()->NewFixedArray(debug_info->GetBreakPointCount());
1555 int count = 0; 1555 int count = 0;
1556 for (int i = 0; i < debug_info->break_points()->length(); i++) { 1556 for (int i = 0; i < debug_info->break_points()->length(); i++) {
1557 if (!debug_info->break_points()->get(i)->IsUndefined()) { 1557 if (!debug_info->break_points()->get(i)->IsUndefined()) {
1558 BreakPointInfo* break_point_info = 1558 BreakPointInfo* break_point_info =
1559 BreakPointInfo::cast(debug_info->break_points()->get(i)); 1559 BreakPointInfo::cast(debug_info->break_points()->get(i));
1560 if (break_point_info->GetBreakPointCount() > 0) { 1560 if (break_point_info->GetBreakPointCount() > 0) {
1561 Smi* position; 1561 Smi* position = NULL;
1562 switch (position_alignment) { 1562 switch (position_alignment) {
1563 case STATEMENT_ALIGNED: 1563 case STATEMENT_ALIGNED:
1564 position = break_point_info->statement_position(); 1564 position = break_point_info->statement_position();
1565 break; 1565 break;
1566 case BREAK_POSITION_ALIGNED: 1566 case BREAK_POSITION_ALIGNED:
1567 position = break_point_info->source_position(); 1567 position = break_point_info->source_position();
1568 break; 1568 break;
1569 default: 1569 default:
1570 UNREACHABLE(); 1570 UNREACHABLE();
1571 position = break_point_info->statement_position(); 1571 position = break_point_info->statement_position();
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after
3385 logger_->DebugEvent("Put", message.text()); 3385 logger_->DebugEvent("Put", message.text());
3386 } 3386 }
3387 3387
3388 3388
3389 void LockingCommandMessageQueue::Clear() { 3389 void LockingCommandMessageQueue::Clear() {
3390 base::LockGuard<base::Mutex> lock_guard(&mutex_); 3390 base::LockGuard<base::Mutex> lock_guard(&mutex_);
3391 queue_.Clear(); 3391 queue_.Clear();
3392 } 3392 }
3393 3393
3394 } } // namespace v8::internal 3394 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698