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/runtime/runtime-debug.cc

Issue 1212253009: Debugger: clear ICs on activating step-in to correctly flood accessor pairs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/runtime/runtime-classes.cc ('k') | src/runtime/runtime-object.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/accessors.h" 7 #include "src/accessors.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 3194 matching lines...) Expand 10 before | Expand all | Expand 10 after
3205 return isolate->heap()->undefined_value(); 3205 return isolate->heap()->undefined_value();
3206 } 3206 }
3207 3207
3208 3208
3209 RUNTIME_FUNCTION(Runtime_DebugIsActive) { 3209 RUNTIME_FUNCTION(Runtime_DebugIsActive) {
3210 SealHandleScope shs(isolate); 3210 SealHandleScope shs(isolate);
3211 return Smi::FromInt(isolate->debug()->is_active()); 3211 return Smi::FromInt(isolate->debug()->is_active());
3212 } 3212 }
3213 3213
3214 3214
3215 RUNTIME_FUNCTION(Runtime_DebugHandleStepIntoAccessor) {
3216 HandleScope scope(isolate);
3217 DCHECK(args.length() == 2);
3218 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
3219 Debug* debug = isolate->debug();
3220 // Handle stepping into constructors if step into is active.
3221 if (debug->StepInActive()) debug->HandleStepIn(function, false);
3222 return *isolate->factory()->undefined_value();
3223 }
3224
3225
3215 RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) { 3226 RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) {
3216 UNIMPLEMENTED(); 3227 UNIMPLEMENTED();
3217 return NULL; 3228 return NULL;
3218 } 3229 }
3219 } // namespace internal 3230 } // namespace internal
3220 } // namespace v8 3231 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698