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

Unified Diff: src/harmony-typedarray.js

Issue 1030673002: Make debugger step into bound callbacks passed to Array.forEach. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/harmony-typedarray.js
diff --git a/src/harmony-typedarray.js b/src/harmony-typedarray.js
index c2eb452af378ca1b2b240653a2de04e06777df16..1759172ab674b931eafd5bcc87563295f5c154af 100644
--- a/src/harmony-typedarray.js
+++ b/src/harmony-typedarray.js
@@ -49,7 +49,7 @@ function NAMEForEach(f /* thisArg */) { // length == 1
needs_wrapper = SHOULD_CREATE_WRAPPER(f, receiver);
}
- var stepping = DEBUG_IS_ACTIVE && %DebugCallbackSupportsStepping(f);
+ var stepping = DEBUG_IS_STEPPING();
for (var i = 0; i < length; i++) {
var element = this[i];
// Prepare break slots for debugger step in.
« no previous file with comments | « src/collection.js ('k') | src/macros.py » ('j') | src/runtime/runtime-debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698