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

Issue 959203002: CpuProfiler: replace raw position with SourcePosition for DeoptReason (Closed)

Created:
5 years, 9 months ago by loislo
Modified:
5 years, 9 months ago
Reviewers:
Sven Panne, alph, yurys
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

CpuProfiler: replace raw position with SourcePosition for DeoptReason Save Unknown position as zero in RelocInfo. Remove copy constructor of SourcePosition because it is trivial. Mechanical replace int raw_position with SourcePosition position. BUG=452067 LOG=n Committed: https://crrev.com/32ee9fa6ab08e9cafceae3f148cd6ec52306be64 Cr-Commit-Position: refs/heads/master@{#26916}

Patch Set 1 #

Patch Set 2 : unnecessary changes were removed #

Total comments: 4

Patch Set 3 : minor fixes, comment addressed #

Patch Set 4 : fix for win32 #

Patch Set 5 : fix for win32 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -55 lines) Patch
M src/arm/assembler-arm.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/assembler-arm64.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M src/compiler.h View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M src/cpu-profiler.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/cpu-profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/cpu-profiler-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/deoptimizer.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/lithium-codegen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/assembler-mips.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/assembler-mips64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M src/ppc/assembler-ppc.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/ppc/lithium-codegen-ppc.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/profile-generator.h View 4 chunks +12 lines, -11 lines 0 comments Download
M src/profile-generator.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M src/profile-generator-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x87/assembler-x87.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/x87/lithium-codegen-x87.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
loislo
PTAL
5 years, 9 months ago (2015-02-27 10:14:40 UTC) #2
yurys
https://codereview.chromium.org/959203002/diff/20001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/959203002/diff/20001/src/assembler.cc#newcode1663 src/assembler.cc:1663: int raw_position = position.IsUnknown() ? 0 : position.raw(); Can ...
5 years, 9 months ago (2015-02-27 10:35:24 UTC) #3
loislo
comments addressed https://codereview.chromium.org/959203002/diff/20001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/959203002/diff/20001/src/assembler.cc#newcode1663 src/assembler.cc:1663: int raw_position = position.IsUnknown() ? 0 : ...
5 years, 9 months ago (2015-02-27 12:04:28 UTC) #4
yurys
lgtm
5 years, 9 months ago (2015-02-27 12:25:16 UTC) #5
Sven Panne
lgtm
5 years, 9 months ago (2015-02-27 13:32:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959203002/80001
5 years, 9 months ago (2015-02-27 13:33:00 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-02-27 13:34:30 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 13:34:52 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/32ee9fa6ab08e9cafceae3f148cd6ec52306be64
Cr-Commit-Position: refs/heads/master@{#26916}

Powered by Google App Engine
This is Rietveld 408576698