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

Side by Side Diff: src/runtime/runtime-classes.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/objects.cc ('k') | src/runtime/runtime-debug.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 <stdlib.h> 5 #include <stdlib.h>
6 #include <limits> 6 #include <limits>
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/arguments.h" 10 #include "src/arguments.h"
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 return StoreKeyedToSuper(isolate, home_object, receiver, key, value, SLOPPY); 463 return StoreKeyedToSuper(isolate, home_object, receiver, key, value, SLOPPY);
464 } 464 }
465 465
466 466
467 RUNTIME_FUNCTION(Runtime_HandleStepInForDerivedConstructors) { 467 RUNTIME_FUNCTION(Runtime_HandleStepInForDerivedConstructors) {
468 HandleScope scope(isolate); 468 HandleScope scope(isolate);
469 DCHECK(args.length() == 1); 469 DCHECK(args.length() == 1);
470 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); 470 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
471 Debug* debug = isolate->debug(); 471 Debug* debug = isolate->debug();
472 // Handle stepping into constructors if step into is active. 472 // Handle stepping into constructors if step into is active.
473 if (debug->StepInActive()) { 473 if (debug->StepInActive()) debug->HandleStepIn(function, true);
474 debug->HandleStepIn(function, Handle<Object>::null(), 0, true);
475 }
476 return *isolate->factory()->undefined_value(); 474 return *isolate->factory()->undefined_value();
477 } 475 }
478 476
479 477
480 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { 478 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) {
481 UNIMPLEMENTED(); 479 UNIMPLEMENTED();
482 return nullptr; 480 return nullptr;
483 } 481 }
484 482
485 483
486 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { 484 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) {
487 UNIMPLEMENTED(); 485 UNIMPLEMENTED();
488 return nullptr; 486 return nullptr;
489 } 487 }
490 } // namespace internal 488 } // namespace internal
491 } // namespace v8 489 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698