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

Issue 10399136: CTX and TMP registers may not be allocated. (Closed)

Created:
8 years, 7 months ago by srdjan
Modified:
8 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

CTX and TMP registers may not be allocated. Committed: https://code.google.com/p/dart/source/detail?r=7888

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M runtime/vm/constants_ia32.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/locations.cc View 1 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
srdjan
8 years, 7 months ago (2012-05-22 23:18:07 UTC) #1
Florian Schneider
LGTM.
8 years, 7 months ago (2012-05-22 23:21:35 UTC) #2
Vyacheslav Egorov (Google)
dbc https://chromiumcodereview.appspot.com/10399136/diff/1/runtime/vm/intermediate_language_x64.cc File runtime/vm/intermediate_language_x64.cc (left): https://chromiumcodereview.appspot.com/10399136/diff/1/runtime/vm/intermediate_language_x64.cc#oldcode61 runtime/vm/intermediate_language_x64.cc:61: summary->set_in(0, Location::RegisterLocation(CTX)); I don't think this change is ...
8 years, 7 months ago (2012-05-22 23:25:23 UTC) #3
srdjan
https://chromiumcodereview.appspot.com/10399136/diff/1/runtime/vm/intermediate_language_x64.cc File runtime/vm/intermediate_language_x64.cc (left): https://chromiumcodereview.appspot.com/10399136/diff/1/runtime/vm/intermediate_language_x64.cc#oldcode61 runtime/vm/intermediate_language_x64.cc:61: summary->set_in(0, Location::RegisterLocation(CTX)); On 2012/05/22 23:25:23, Vyacheslav Egorov (Google) wrote: ...
8 years, 7 months ago (2012-05-22 23:45:38 UTC) #4
srdjan
8 years, 7 months ago (2012-05-22 23:57:20 UTC) #5
https://chromiumcodereview.appspot.com/10399136/diff/1/runtime/vm/intermediat...
File runtime/vm/intermediate_language_x64.cc (left):

https://chromiumcodereview.appspot.com/10399136/diff/1/runtime/vm/intermediat...
runtime/vm/intermediate_language_x64.cc:61: summary->set_in(0,
Location::RegisterLocation(CTX));
On 2012/05/22 23:45:38, srdjan wrote:
> On 2012/05/22 23:25:23, Vyacheslav Egorov (Google) wrote:
> > I don't think this change is necessary. 
> > 
> > This is not a register allocated register, this is known fixed register.
> 
> How is it known? The register allocator attempts to allocate any register,
> including the one holding context, unless we block it from being allocatable.

Discussed offline and  reverted the changes here by moving the blocking of
registers after the input registers locking and before allocating a register.

Powered by Google App Engine
This is Rietveld 408576698