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

Unified Diff: src/debug.cc

Issue 6613005: Implementation of strict mode in SetElement. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: SetElement and strict mode. Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/handles.h » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index c473941210172c1d2b1399f227151abae5469c96..d91ad92ee12eb2d502a9287d72404fd348e8cc36 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -1013,14 +1013,18 @@ Handle<Object> Debug::CheckBreakPoints(Handle<Object> break_point_objects) {
for (int i = 0; i < array->length(); i++) {
Handle<Object> o(array->get(i));
if (CheckBreakPoint(o)) {
- SetElement(break_points_hit, break_points_hit_count++, o);
+ SetElement(break_points_hit,
+ break_points_hit_count++,
+ o,
+ kNonStrictMode);
Martin Maly 2011/03/03 06:07:56 Debugger code, not using strict mode.
}
}
} else {
if (CheckBreakPoint(break_point_objects)) {
SetElement(break_points_hit,
break_points_hit_count++,
- break_point_objects);
+ break_point_objects,
+ kNonStrictMode);
}
}
« no previous file with comments | « src/api.cc ('k') | src/handles.h » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698