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

Issue 334041: Add VisitCallNew to fast compiler. (Closed)

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

Description

Add VisitCallNew to fast compiler. Committed: http://code.google.com/p/v8/source/detail?r=3148

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -6 lines) Patch
src/arm/fast-codegen-arm.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
src/fast-codegen.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
src/ia32/fast-codegen-ia32.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
src/x64/fast-codegen-x64.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
http://codereview.chromium.org/334041/diff/1/6 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/334041/diff/1/6#newcode590 Line 590: // Replace function on TOS with result in ...
11 years, 1 month ago (2009-10-27 13:30:28 UTC) #1
Kevin Millikin (Chromium)
LGTM, with a couple small fixups. The IA32 comments apply to the other platforms as ...
11 years, 1 month ago (2009-10-27 13:53:57 UTC) #2
William Hesse
11 years, 1 month ago (2009-10-27 14:45:38 UTC) #3
http://codereview.chromium.org/334041/diff/1/6
File src/arm/fast-codegen-arm.cc (right):

http://codereview.chromium.org/334041/diff/1/6#newcode590
Line 590: // Replace function on TOS with result in eax, or pop it.
On 2009/10/27 13:30:28, William Hesse wrote:
> Will change eax to r0.

Done.

http://codereview.chromium.org/334041/diff/1/6#newcode595
Line 595: __ add(sp, sp, Operand(kPointerSize));
On 2009/10/27 13:53:57, Kevin Millikin wrote:
> You should write __ pop() on ARM.

Done.

http://codereview.chromium.org/334041/diff/1/2
File src/ia32/fast-codegen-ia32.cc (right):

http://codereview.chromium.org/334041/diff/1/2#newcode551
Line 551: void FastCodeGenerator::VisitCallNew(CallNew* node) {
On 2009/10/27 13:53:57, Kevin Millikin wrote:
> We've been trying to keep these sorted in AST node order (as in ast.h), so
> CallNew goes after Call and before CallRuntime.

Done.

http://codereview.chromium.org/334041/diff/1/2#newcode586
Line 586: if (node->location().is_temporary()) {
On 2009/10/27 13:53:57, Kevin Millikin wrote:
> Write this as a switch over (node->location().type()) for now, so we'll get
> compilation failures rather than ASSERT failures if we forget a case.

Done.

Powered by Google App Engine
This is Rietveld 408576698