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

Issue 10828049: Move some Pop/Drop calls directly to the places where they are needed. (Closed)

Created:
8 years, 4 months ago by Sven Panne
Modified:
8 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Move some Pop/Drop calls directly to the places where they are needed. This is a refactoring-only CL and the fourth one in a series for enabling inlining of accessors. Later when we try to inline accessor calls, their arguments must still be on the expression stack, so we must not remove them too early. Committed: https://code.google.com/p/v8/source/detail?r=12213

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved HCheckNonSmi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -21 lines) Patch
M src/hydrogen.cc View 1 4 chunks +21 lines, -21 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Sven Panne
8 years, 4 months ago (2012-07-27 12:09:21 UTC) #1
Michael Starzinger
LGTM (with a nit). https://chromiumcodereview.appspot.com/10828049/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/10828049/diff/1/src/hydrogen.cc#newcode5073 src/hydrogen.cc:5073: AddInstruction(new(zone()) HCheckNonSmi(object)); Can we move ...
8 years, 4 months ago (2012-07-27 12:26:03 UTC) #2
Sven Panne
8 years, 4 months ago (2012-07-27 12:35:30 UTC) #3
Landing...

https://chromiumcodereview.appspot.com/10828049/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

https://chromiumcodereview.appspot.com/10828049/diff/1/src/hydrogen.cc#newcod...
src/hydrogen.cc:5073: AddInstruction(new(zone()) HCheckNonSmi(object));
On 2012/07/27 12:26:03, Michael Starzinger wrote:
> Can we move this down right in front of the block where instructions are
> actually emitted? Because this first block is just checking some optimistic
> assumptions but not generating any instructions.

Done.

Powered by Google App Engine
This is Rietveld 408576698