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

Issue 9182: Emit pushes and pops through the virtual frame on ARM. Merging of... (Closed)

Created:
12 years, 1 month ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
iposva
CC:
v8-dev
Visibility:
Public.

Description

Emit pushes and pops through the virtual frame on ARM. Merging of frames is not yet handled. The ARM code generator should be back in line with the IA32 one. Committed: http://code.google.com/p/v8/source/detail?r=706

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -289 lines) Patch
M src/codegen-arm.h View 1 4 chunks +14 lines, -5 lines 0 comments Download
M src/codegen-arm.cc View 1 116 chunks +296 lines, -265 lines 6 comments Download
M src/codegen-ia32.cc View 1 8 chunks +23 lines, -19 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
This is the second part of the change to move all frame accesses to the ...
12 years, 1 month ago (2008-11-05 13:39:00 UTC) #1
iposva
LGTM Thanks for also cleaning up the comments. -Ivan http://codereview.chromium.org/9182/diff/201/202 File src/codegen-arm.cc (right): http://codereview.chromium.org/9182/diff/201/202#newcode104 Line ...
12 years, 1 month ago (2008-11-06 18:18:34 UTC) #2
Kevin Millikin (Chromium)
12 years, 1 month ago (2008-11-07 08:19:10 UTC) #3
http://codereview.chromium.org/9182/diff/201/202
File src/codegen-arm.cc (right):

http://codereview.chromium.org/9182/diff/201/202#newcode104
Line 104: __ add(sp, sp, Operand(kPointerSize));
On 2008/11/06 18:18:34, iposva wrote:
> Shouldn't this just call Drop(1)?

Fixed.

http://codereview.chromium.org/9182/diff/201/202#newcode574
Line 574: if (size <= 0) {
On 2008/11/06 18:18:34, iposva wrote:
> Can a reference size ever be negative? If not, then we should ASSERT that
> instead. Would make the code slightly more readable.

Yes it can be negative, but we should probably change that.  The size is just
the (integer) value of the type enum, and ILLEGAL has value -1.  I will
investigate and clean up as a separate change.

Powered by Google App Engine
This is Rietveld 408576698