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

Issue 10234007: Remove more assumptions from debug tests. Even though a function (Closed)

Created:
8 years, 8 months ago by Erik Corry
Modified:
8 years, 8 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Remove more assumptions from debug tests. Even though a function is optimized, does not mean all frames on the stack are optimized. Also, when we ask for the list of scripts we may get more or less depending on GC timing. Also fixed a presubmit error and made %GetOptimizationStatus a little more honest. Committed: https://code.google.com/p/v8/source/detail?r=11455

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -34 lines) Patch
M src/runtime.cc View 1 chunk +5 lines, -2 lines 2 comments Download
M test/mjsunit/debug-evaluate-locals-optimized.js View 2 chunks +0 lines, -15 lines 0 comments Download
M test/mjsunit/debug-evaluate-locals-optimized-double.js View 2 chunks +0 lines, -15 lines 0 comments Download
M test/mjsunit/debug-scripts-request.js View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Erik Corry
8 years, 8 months ago (2012-04-26 13:37:13 UTC) #1
Yang
LGTM with one comment. https://chromiumcodereview.appspot.com/10234007/diff/1/src/runtime.cc File src/runtime.cc (right): https://chromiumcodereview.appspot.com/10234007/diff/1/src/runtime.cc#newcode8323 src/runtime.cc:8323: return function->IsOptimized() ? Smi::FromInt(3) // ...
8 years, 8 months ago (2012-04-26 13:42:20 UTC) #2
Erik Corry
8 years, 8 months ago (2012-04-26 13:46:10 UTC) #3
https://chromiumcodereview.appspot.com/10234007/diff/1/src/runtime.cc
File src/runtime.cc (right):

https://chromiumcodereview.appspot.com/10234007/diff/1/src/runtime.cc#newcode...
src/runtime.cc:8323: return function->IsOptimized() ? Smi::FromInt(3)   // 1 ==
"always".
On 2012/04/26 13:42:20, Yang wrote:
> Should the comment be '3 == "always"'?

Done.

Powered by Google App Engine
This is Rietveld 408576698