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

Issue 147143: X64 implementation: VisitLoop and StackCheck (Closed)

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

Description

X64 implementation: VisitLoop and StackCheck Committed: http://code.google.com/p/v8/source/detail?r=2270

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -18 lines) Patch
M src/x64/codegen-x64.cc View 1 11 chunks +386 lines, -18 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
11 years, 6 months ago (2009-06-25 09:12:18 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/147143/diff/1/2 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/147143/diff/1/2#newcode691 Line 691: void CodeGenerator::VisitLoopStatement(LoopStatement* node) { Is there anything ...
11 years, 6 months ago (2009-06-25 09:40:21 UTC) #2
William Hesse
11 years, 6 months ago (2009-06-25 10:39:33 UTC) #3
http://codereview.chromium.org/147143/diff/1/2
File src/x64/codegen-x64.cc (right):

http://codereview.chromium.org/147143/diff/1/2#newcode691
Line 691: void CodeGenerator::VisitLoopStatement(LoopStatement* node) {
On 2009/06/25 09:40:21, Lasse Reichstein wrote:
> Is there anything X64 specific about this function?

No, there is not.  There may be differences with the ARM version, but if not, it
could be moved to codegen.cc.

http://codereview.chromium.org/147143/diff/1/2#newcode710
Line 710: }
On 2009/06/25 09:40:21, Lasse Reichstein wrote:
> Would it be worth checking for a literal number? Some people undoubtedly write
> "while(1){...}".

I would suggest adding a function to Literal that checks this.

Powered by Google App Engine
This is Rietveld 408576698