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

Issue 119302: Change IA32's CodeGenerator::GenerateFastCharCodeAt to eagerly... (Closed)

Created:
11 years, 6 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Change IA32's CodeGenerator::GenerateFastCharCodeAt to eagerly allocate and spill registers, so that the register reference counts and virtual frame are unchanged in the main body. This eliminates a few sites of magic branching or binding of JumpTarget with arguments. Committed: http://code.google.com/p/v8/source/detail?r=2126

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -86 lines) Patch
M src/ia32/codegen-ia32.cc View 1 2 2 chunks +109 lines, -86 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Kevin Millikin (Chromium)
11 years, 6 months ago (2009-06-08 12:11:24 UTC) #1
Erik Corry
11 years, 6 months ago (2009-06-08 12:38:42 UTC) #2
LGTM

http://codereview.chromium.org/119302/diff/1002/1003
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/119302/diff/1002/1003#newcode4646
Line 4646: if ((object.is_register() && object.reg().is(ecx)) ||
This would actually be the same number of lines if you handled the two cases in
separate ifs.  And more readable IMHO.

Powered by Google App Engine
This is Rietveld 408576698