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

Issue 783103003: Clobber non-live temporaries on some paths involving a possible slow-path allocation. (Closed)

Created:
6 years ago by zerny-google
Modified:
6 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Clobber non-live temporaries on some paths involving a possible slow-path allocation. R=vegorov@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=42239

Patch Set 1 #

Patch Set 2 : only clobber on slow path #

Total comments: 2

Patch Set 3 : unnedded temp saves #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -0 lines) Patch
M runtime/vm/flow_graph_compiler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 3 chunks +20 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 3 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 3 chunks +20 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 3 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
zerny-google
This change caught an issue with LoadCodeUnits on ia32 and arm where I'd not manually ...
6 years ago (2014-12-08 12:54:05 UTC) #1
Vyacheslav Egorov (Google)
LGTM but with big comments though I thought it would be OK to leave jump ...
6 years ago (2014-12-08 13:12:52 UTC) #2
zerny-google
Thanks for the review! On 2014/12/08 13:12:52, Vyacheslav Egorov (Google) wrote: > LGTM but with ...
6 years ago (2014-12-08 16:01:23 UTC) #3
zerny-google
Simpified the CL to only clobber temps if the slow path is taken.
6 years ago (2014-12-09 09:18:37 UTC) #4
Vyacheslav Egorov (Google)
lgtm
6 years ago (2014-12-09 11:01:40 UTC) #5
Vyacheslav Egorov (Google)
https://codereview.chromium.org/783103003/diff/20001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/783103003/diff/20001/runtime/vm/intermediate_language_ia32.cc#newcode1886 runtime/vm/intermediate_language_ia32.cc:1886: locs()->live_registers()->Add(locs()->temp(0)); Actually I have been looking at this code ...
6 years ago (2014-12-09 17:49:46 UTC) #6
zerny-google
Thanks for taking another look! https://codereview.chromium.org/783103003/diff/20001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/783103003/diff/20001/runtime/vm/intermediate_language_ia32.cc#newcode1886 runtime/vm/intermediate_language_ia32.cc:1886: locs()->live_registers()->Add(locs()->temp(0)); On 2014/12/09 17:49:46, ...
6 years ago (2014-12-10 09:49:16 UTC) #7
zerny-google
6 years ago (2014-12-10 09:51:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 42239 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698