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

Issue 2897203002: [Turbofan] Remove UnallocatedOperand::set_virtual_register. (Closed)

Created:
3 years, 7 months ago by bbudge
Modified:
3 years, 7 months ago
Reviewers:
Mircea Trofin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[Turbofan] Remove UnallocatedOperand::set_virtual_register. - Removes set_virtual_register method. InstructionOperands are immutable. - Adds a new ctor to copy an UnallocatedOperand with a new vreg. - Removes some DCHECKs in UnallocatedOperand that are always true. To make sure, make UnallocatedOperand final. - Cleans up some comments on UnallocatedOperand Lifetime enum. BUG=v8:6325 Review-Url: https://codereview.chromium.org/2897203002 Cr-Commit-Position: refs/heads/master@{#45533} Committed: https://chromium.googlesource.com/v8/v8/+/5dde8b312bfbdefdfeeb95fa3f3030ebe2b9529d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make ctor conform to Chromium style. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -19 lines) Patch
M src/compiler/instruction.h View 1 5 chunks +13 lines, -16 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/register-allocator.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (13 generated)
bbudge
3 years, 7 months ago (2017-05-24 02:11:52 UTC) #6
Mircea Trofin
On 2017/05/24 02:11:52, bbudge wrote: lgtm, 1 nit
3 years, 7 months ago (2017-05-24 07:00:22 UTC) #7
Mircea Trofin
lgtm, 1 nit https://codereview.chromium.org/2897203002/diff/1/src/compiler/instruction.h File src/compiler/instruction.h (right): https://codereview.chromium.org/2897203002/diff/1/src/compiler/instruction.h#newcode235 src/compiler/instruction.h:235: UnallocatedOperand(const UnallocatedOperand* other, int virtual_register) { ...
3 years, 7 months ago (2017-05-24 07:00:46 UTC) #8
bbudge
https://codereview.chromium.org/2897203002/diff/1/src/compiler/instruction.h File src/compiler/instruction.h (right): https://codereview.chromium.org/2897203002/diff/1/src/compiler/instruction.h#newcode235 src/compiler/instruction.h:235: UnallocatedOperand(const UnallocatedOperand* other, int virtual_register) { On 2017/05/24 07:00:46, ...
3 years, 7 months ago (2017-05-24 16:12:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2897203002/20001
3 years, 7 months ago (2017-05-25 18:30:17 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 18:59:37 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/5dde8b312bfbdefdfeeb95fa3f3030ebe2b...

Powered by Google App Engine
This is Rietveld 408576698