diff options
Diffstat (limited to 'chromium/v8/src/debug/debug.cc')
-rw-r--r-- | chromium/v8/src/debug/debug.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chromium/v8/src/debug/debug.cc b/chromium/v8/src/debug/debug.cc index 5cc200d5527..9b5200e3430 100644 --- a/chromium/v8/src/debug/debug.cc +++ b/chromium/v8/src/debug/debug.cc @@ -15,6 +15,7 @@ #include "src/codegen/compilation-cache.h" #include "src/codegen/compiler.h" #include "src/common/globals.h" +#include "src/common/message-template.h" #include "src/debug/debug-evaluate.h" #include "src/debug/liveedit.h" #include "src/deoptimizer/deoptimizer.h" @@ -22,7 +23,6 @@ #include "src/execution/execution.h" #include "src/execution/frames-inl.h" #include "src/execution/isolate-inl.h" -#include "src/execution/message-template.h" #include "src/execution/v8threads.h" #include "src/handles/global-handles.h" #include "src/heap/heap-inl.h" // For NextDebuggingId. @@ -336,7 +336,7 @@ void DebugFeatureTracker::Track(DebugFeatureTracker::Feature feature) { // Threading support. void Debug::ThreadInit() { - thread_local_.break_frame_id_ = StackFrame::NO_ID; + thread_local_.break_frame_id_ = StackFrameId::NO_ID; thread_local_.last_step_action_ = StepNone; thread_local_.last_statement_position_ = kNoSourcePosition; thread_local_.last_frame_count_ = -1; @@ -960,9 +960,9 @@ void Debug::PrepareStep(StepAction step_action) { // any. The debug frame will only be present if execution was stopped due to // hitting a break point. In other situations (e.g. unhandled exception) the // debug frame is not present. - StackFrame::Id frame_id = break_frame_id(); + StackFrameId frame_id = break_frame_id(); // If there is no JavaScript stack don't do anything. - if (frame_id == StackFrame::NO_ID) return; + if (frame_id == StackFrameId::NO_ID) return; feature_tracker()->Track(DebugFeatureTracker::kStepping); @@ -1226,9 +1226,9 @@ void Debug::InstallDebugBreakTrampoline() { std::vector<Handle<JSFunction>> needs_compile; std::vector<Handle<AccessorPair>> needs_instantiate; { - HeapIterator iterator(isolate_->heap()); - for (HeapObject obj = iterator.next(); !obj.is_null(); - obj = iterator.next()) { + HeapObjectIterator iterator(isolate_->heap()); + for (HeapObject obj = iterator.Next(); !obj.is_null(); + obj = iterator.Next()) { if (needs_to_clear_ic && obj.IsFeedbackVector()) { FeedbackVector::cast(obj).ClearSlots(isolate_); continue; @@ -1649,7 +1649,7 @@ void Debug::ScheduleFrameRestart(StackFrame* frame) { // Reset break frame ID to the frame below the restarted frame. StackTraceFrameIterator it(isolate_); - thread_local_.break_frame_id_ = StackFrame::NO_ID; + thread_local_.break_frame_id_ = StackFrameId::NO_ID; for (StackTraceFrameIterator it(isolate_); !it.done(); it.Advance()) { if (it.frame()->fp() > thread_local_.restart_fp_) { thread_local_.break_frame_id_ = it.frame()->id(); @@ -1913,7 +1913,7 @@ void Debug::ProcessCompileEvent(bool has_compile_error, Handle<Script> script) { int Debug::CurrentFrameCount() { StackTraceFrameIterator it(isolate_); - if (break_frame_id() != StackFrame::NO_ID) { + if (break_frame_id() != StackFrameId::NO_ID) { // Skip to break frame. DCHECK(in_debug_scope()); while (!it.done() && it.frame()->id() != break_frame_id()) it.Advance(); @@ -2058,7 +2058,7 @@ DebugScope::DebugScope(Debug* debug) StackTraceFrameIterator it(isolate()); bool has_frames = !it.done(); debug_->thread_local_.break_frame_id_ = - has_frames ? it.frame()->id() : StackFrame::NO_ID; + has_frames ? it.frame()->id() : StackFrameId::NO_ID; debug_->UpdateState(); } |