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

Unified Diff: test/mjsunit/debug-evaluate.js

Issue 1233073005: Debugger: prepare code for debugging on a per-function basis. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-func-name-inference.cc ('k') | test/mjsunit/debug-optimize.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-evaluate.js
diff --git a/test/mjsunit/debug-evaluate.js b/test/mjsunit/debug-evaluate.js
index accf656d60979e0c9860369540a1fa320a82f99f..46eddef9c4b447ed9e979fc68f2a8d4be6f56fce 100644
--- a/test/mjsunit/debug-evaluate.js
+++ b/test/mjsunit/debug-evaluate.js
@@ -136,6 +136,7 @@ function f() {
function g() {
var a = 2;
f();
+ return a; // Use the value to prevent it being removed by DCE.
};
a = 1;
« no previous file with comments | « test/cctest/test-func-name-inference.cc ('k') | test/mjsunit/debug-optimize.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698