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

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

Issue 2663963003: [Ignition] Rename New and NewWithSpread bytecodes. (Closed)
Patch Set: Update comments Created 3 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/compiler/bytecode-graph-builder.cc ('k') | src/debug/debug-evaluate.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 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 <memory> 7 #include <memory>
8 8
9 #include "src/api.h" 9 #include "src/api.h"
10 #include "src/arguments.h" 10 #include "src/arguments.h"
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); 321 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset()));
322 322
323 if (bytecode == interpreter::Bytecode::kDebugger) { 323 if (bytecode == interpreter::Bytecode::kDebugger) {
324 return DEBUGGER_STATEMENT; 324 return DEBUGGER_STATEMENT;
325 } else if (bytecode == interpreter::Bytecode::kReturn) { 325 } else if (bytecode == interpreter::Bytecode::kReturn) {
326 return DEBUG_BREAK_SLOT_AT_RETURN; 326 return DEBUG_BREAK_SLOT_AT_RETURN;
327 } else if (bytecode == interpreter::Bytecode::kTailCall) { 327 } else if (bytecode == interpreter::Bytecode::kTailCall) {
328 return isolate()->is_tail_call_elimination_enabled() 328 return isolate()->is_tail_call_elimination_enabled()
329 ? DEBUG_BREAK_SLOT_AT_TAIL_CALL 329 ? DEBUG_BREAK_SLOT_AT_TAIL_CALL
330 : DEBUG_BREAK_SLOT_AT_CALL; 330 : DEBUG_BREAK_SLOT_AT_CALL;
331 } else if (interpreter::Bytecodes::IsCallOrNew(bytecode)) { 331 } else if (interpreter::Bytecodes::IsCallOrConstruct(bytecode)) {
332 return DEBUG_BREAK_SLOT_AT_CALL; 332 return DEBUG_BREAK_SLOT_AT_CALL;
333 } else if (source_position_iterator_.is_statement()) { 333 } else if (source_position_iterator_.is_statement()) {
334 return DEBUG_BREAK_SLOT; 334 return DEBUG_BREAK_SLOT;
335 } else { 335 } else {
336 return NOT_DEBUG_BREAK; 336 return NOT_DEBUG_BREAK;
337 } 337 }
338 } 338 }
339 339
340 void BytecodeArrayBreakIterator::SkipToPosition( 340 void BytecodeArrayBreakIterator::SkipToPosition(
341 int position, BreakPositionAlignment alignment) { 341 int position, BreakPositionAlignment alignment) {
(...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 return v8::Utils::ToLocal(callback_data_); 2428 return v8::Utils::ToLocal(callback_data_);
2429 } 2429 }
2430 2430
2431 2431
2432 v8::Isolate* EventDetailsImpl::GetIsolate() const { 2432 v8::Isolate* EventDetailsImpl::GetIsolate() const {
2433 return reinterpret_cast<v8::Isolate*>(exec_state_->GetIsolate()); 2433 return reinterpret_cast<v8::Isolate*>(exec_state_->GetIsolate());
2434 } 2434 }
2435 2435
2436 } // namespace internal 2436 } // namespace internal
2437 } // namespace v8 2437 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/debug/debug-evaluate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698