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

Issue 9295014: Find correct source position in inlined functions on debug break. (Closed)

Created:
8 years, 11 months ago by Yang
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Find correct source position in inlined functions on debug break. BUG=110010 TEST=test-debug/DebugBreakInline Committed: https://code.google.com/p/v8/source/detail?r=10551

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change test to be single-threaded. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -5 lines) Patch
M src/deoptimizer.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 2 chunks +9 lines, -5 lines 0 comments Download
M test/cctest/test-debug.cc View 1 1 chunk +50 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Yang
Please take a look.
8 years, 11 months ago (2012-01-27 14:40:17 UTC) #1
Søren Gjesse
lgtm But please refactor the test to avoid using sleep in a separate CL. http://codereview.chromium.org/9295014/diff/1/test/cctest/test-debug.cc ...
8 years, 10 months ago (2012-01-30 08:59:28 UTC) #2
Yang
I changed the test according to your suggestions. Please take another look.
8 years, 10 months ago (2012-01-30 12:22:35 UTC) #3
Søren Gjesse
8 years, 10 months ago (2012-01-30 12:26:57 UTC) #4
lgtm

http://codereview.chromium.org/9295014/diff/2002/test/cctest/test-debug.cc
File test/cctest/test-debug.cc (right):

http://codereview.chromium.org/9295014/diff/2002/test/cctest/test-debug.cc#ne...
test/cctest/test-debug.cc:7307: // Each frame's source position has to be
different from the previous one.
Maybe put in expected lines

int expected_line[..] = {1, 4, ...}

and check for the actual line

CHECK_EQ(expected_line[i] = result->Int32Value();

Powered by Google App Engine
This is Rietveld 408576698