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

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

Issue 1783483002: [interpreter] Add support for scalable operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-generate golden files. Created 4 years, 9 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/bytecode-graph-builder.cc ('k') | src/globals.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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 Object* Debug::SetAfterBreakTarget(JavaScriptFrame* frame) { 1572 Object* Debug::SetAfterBreakTarget(JavaScriptFrame* frame) {
1573 if (frame->is_interpreted()) { 1573 if (frame->is_interpreted()) {
1574 // Find the handler from the original bytecode array. 1574 // Find the handler from the original bytecode array.
1575 InterpretedFrame* interpreted_frame = 1575 InterpretedFrame* interpreted_frame =
1576 reinterpret_cast<InterpretedFrame*>(frame); 1576 reinterpret_cast<InterpretedFrame*>(frame);
1577 SharedFunctionInfo* shared = interpreted_frame->function()->shared(); 1577 SharedFunctionInfo* shared = interpreted_frame->function()->shared();
1578 BytecodeArray* bytecode_array = shared->bytecode_array(); 1578 BytecodeArray* bytecode_array = shared->bytecode_array();
1579 int bytecode_offset = interpreted_frame->GetBytecodeOffset(); 1579 int bytecode_offset = interpreted_frame->GetBytecodeOffset();
1580 interpreter::Bytecode bytecode = 1580 interpreter::Bytecode bytecode =
1581 interpreter::Bytecodes::FromByte(bytecode_array->get(bytecode_offset)); 1581 interpreter::Bytecodes::FromByte(bytecode_array->get(bytecode_offset));
1582 return isolate_->interpreter()->GetBytecodeHandler(bytecode); 1582 return isolate_->interpreter()->GetBytecodeHandler(
1583 bytecode, interpreter::OperandScale::kSingle);
1583 } else { 1584 } else {
1584 after_break_target_ = NULL; 1585 after_break_target_ = NULL;
1585 if (!LiveEdit::SetAfterBreakTarget(this)) { 1586 if (!LiveEdit::SetAfterBreakTarget(this)) {
1586 // Continue just after the slot. 1587 // Continue just after the slot.
1587 after_break_target_ = frame->pc(); 1588 after_break_target_ = frame->pc();
1588 } 1589 }
1589 return isolate_->heap()->undefined_value(); 1590 return isolate_->heap()->undefined_value();
1590 } 1591 }
1591 } 1592 }
1592 1593
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 } 2621 }
2621 2622
2622 2623
2623 void LockingCommandMessageQueue::Clear() { 2624 void LockingCommandMessageQueue::Clear() {
2624 base::LockGuard<base::Mutex> lock_guard(&mutex_); 2625 base::LockGuard<base::Mutex> lock_guard(&mutex_);
2625 queue_.Clear(); 2626 queue_.Clear();
2626 } 2627 }
2627 2628
2628 } // namespace internal 2629 } // namespace internal
2629 } // namespace v8 2630 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698