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

Issue 5964005: Shorten live ranges of argument subexpressions. (Closed)

Created:
10 years ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Shorten live ranges of argument subexpressions. Before, argument subexpressions were live up until the call that consumed them. With this change we end their live ranges as soon as possible. This eliminates a write and read when we would previously spill them to the wrong location, and simplifies the register allocator's job to not have to consider these subexpressions.

Patch Set 1 #

Total comments: 18
Unified diffs Side-by-side diffs Delta from patch set Stats (+655 lines, -468 lines) Patch
M src/arm/lithium-arm.h View 2 chunks +7 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.cc View 5 chunks +14 lines, -11 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +10 lines, -1 line 0 comments Download
M src/hydrogen.h View 9 chunks +21 lines, -21 lines 0 comments Download
M src/hydrogen.cc View 35 chunks +500 lines, -338 lines 16 comments Download
M src/hydrogen-instructions.h View 7 chunks +49 lines, -49 lines 1 comment Download
M src/hydrogen-instructions.cc View 5 chunks +14 lines, -28 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +12 lines, -2 lines 1 comment Download
M src/ia32/lithium-ia32.h View 2 chunks +8 lines, -1 line 0 comments Download
M src/ia32/lithium-ia32.cc View 5 chunks +15 lines, -12 lines 0 comments Download
M test/mjsunit/compiler/regress-stacktrace.js View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
I'm not thrilled with the PushArgument instructions that pop in and out of existence all ...
10 years ago (2010-12-20 13:08:47 UTC) #1
fschneider
http://codereview.chromium.org/5964005/diff/1/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): http://codereview.chromium.org/5964005/diff/1/src/hydrogen-instructions.h#newcode1219 src/hydrogen-instructions.h:1219: HOperandVector<1> operands_; There are now 3 types of calls ...
10 years ago (2010-12-20 16:13:02 UTC) #2
Kevin Millikin (Chromium)
http://codereview.chromium.org/5964005/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/5964005/diff/1/src/hydrogen.cc#newcode113 src/hydrogen.cc:113: HInstruction* HBasicBlock::GetLastInstruction() { Strongly agreed. http://codereview.chromium.org/5964005/diff/1/src/hydrogen.cc#newcode3238 src/hydrogen.cc:3238: default_graph->FinishExit(new HDeoptimize()); ...
10 years ago (2010-12-21 11:16:37 UTC) #3
Kevin Millikin (Chromium)
9 years, 10 months ago (2011-02-10 13:07:54 UTC) #4
I'm closing this issue because it's stale.  I'll resubmit it in stages.

Powered by Google App Engine
This is Rietveld 408576698