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

Issue 119082: Declare register names as static constants rather than external globals. (Closed)

Created:
11 years, 6 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Declare register names as static constants rather than external globals. Committed: http://code.google.com/p/v8/source/detail?r=2102

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -40 lines) Patch
M src/ia32/assembler-ia32.h View 1 2 chunks +17 lines, -17 lines 2 comments Download
M src/ia32/assembler-ia32.cc View 1 1 chunk +0 lines, -23 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
William Hesse
11 years, 6 months ago (2009-06-03 13:44:03 UTC) #1
Kevin Millikin (Chromium)
Why static?
11 years, 6 months ago (2009-06-03 15:30:41 UTC) #2
William Hesse
On 2009/06/03 15:30:41, Kevin Millikin wrote: > Why static? I think it makes them local ...
11 years, 6 months ago (2009-06-04 10:24:34 UTC) #3
William Hesse
http://codereview.chromium.org/119082/diff/7/9 File src/ia32/assembler-ia32.h (right): http://codereview.chromium.org/119082/diff/7/9#newcode103 Line 103: const XMMRegister xmm0 = { 0 }; OK, ...
11 years, 6 months ago (2009-06-04 10:49:51 UTC) #4
Kevin Millikin (Chromium)
11 years, 6 months ago (2009-06-04 10:58:31 UTC) #5
OK then, LGTM.

http://codereview.chromium.org/119082/diff/7/9
File src/ia32/assembler-ia32.h (right):

http://codereview.chromium.org/119082/diff/7/9#newcode82
Line 82: const Register eax = {0};
Format this one like the others.

Powered by Google App Engine
This is Rietveld 408576698