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

Side by Side Diff: src/debug.cc

Issue 866843003: Contribution of PowerPC port (continuation of 422063005) - AIX Common1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address second set of comments Created 5 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
« no previous file with comments | « src/d8.gyp ('k') | src/disassembler.cc » ('j') | src/serialize.cc » ('J')
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 2333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2344 if (RelocInfo::IsDebugBreakSlot(it.rinfo()->rmode())) { 2344 if (RelocInfo::IsDebugBreakSlot(it.rinfo()->rmode())) {
2345 at_debug_break_slot = (it.rinfo()->pc() == 2345 at_debug_break_slot = (it.rinfo()->pc() ==
2346 addr - Assembler::kPatchDebugBreakSlotAddressOffset); 2346 addr - Assembler::kPatchDebugBreakSlotAddressOffset);
2347 } 2347 }
2348 it.next(); 2348 it.next();
2349 } 2349 }
2350 2350
2351 // Handle the jump to continue execution after break point depending on the 2351 // Handle the jump to continue execution after break point depending on the
2352 // break location. 2352 // break location.
2353 if (at_js_return) { 2353 if (at_js_return) {
2354 // If the break point as return is still active jump to the corresponding 2354 // If the break point at return is still active jump to the corresponding
2355 // place in the original code. If not the break point was removed during 2355 // place in the original code. If not the break point was removed during
2356 // break point processing. 2356 // break point processing.
2357 if (break_at_js_return_active) { 2357 if (break_at_js_return_active) {
2358 addr += original_code->instruction_start() - code->instruction_start(); 2358 addr += original_code->instruction_start() - code->instruction_start();
2359 } 2359 }
2360 2360
2361 // Move back to where the call instruction sequence started. 2361 // Move back to where the call instruction sequence started.
2362 after_break_target_ = addr - Assembler::kPatchReturnSequenceAddressOffset; 2362 after_break_target_ = addr - Assembler::kPatchReturnSequenceAddressOffset;
2363 } else if (at_debug_break_slot) { 2363 } else if (at_debug_break_slot) {
2364 // Address of where the debug break slot starts. 2364 // Address of where the debug break slot starts.
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
3492 logger_->DebugEvent("Put", message.text()); 3492 logger_->DebugEvent("Put", message.text());
3493 } 3493 }
3494 3494
3495 3495
3496 void LockingCommandMessageQueue::Clear() { 3496 void LockingCommandMessageQueue::Clear() {
3497 base::LockGuard<base::Mutex> lock_guard(&mutex_); 3497 base::LockGuard<base::Mutex> lock_guard(&mutex_);
3498 queue_.Clear(); 3498 queue_.Clear();
3499 } 3499 }
3500 3500
3501 } } // namespace v8::internal 3501 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/d8.gyp ('k') | src/disassembler.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698