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

Issue 606015: Change interface to CodeGenerator::LoadFromSlot. (Closed)

Created:
10 years, 10 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Change interface to CodeGenerator::LoadFromSlot. Change the interface to LoadFromSlot, LoadFromSlotCheckForArguments, and LoadFromGlobalSlotCheckExtensions in the ia32 classic code generator. Committed: http://code.google.com/p/v8/source/detail?r=3849

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -67 lines) Patch
M src/ia32/codegen-ia32.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 11 chunks +63 lines, -65 lines 7 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
10 years, 10 months ago (2010-02-12 11:56:22 UTC) #1
fschneider
LGTM. Will you include the change for the x64 back-end? I think we should keep ...
10 years, 10 months ago (2010-02-12 12:23:05 UTC) #2
Kevin Millikin (Chromium)
10 years, 10 months ago (2010-02-12 12:39:21 UTC) #3
http://codereview.chromium.org/606015/diff/1/2
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/606015/diff/1/2#newcode3997
src/ia32/codegen-ia32.cc:3997: Result result;
On 2010/02/12 12:23:06, fschneider wrote:
> I'd move the declaration into the innermost necessary scope because it is not
> used on some paths.

Ultimately it will be a field in the codegen state, so I really want one
declaration at the very top of the function (so it's easy to remove) called
result (so it's easy to search for).

http://codereview.chromium.org/606015/diff/1/2#newcode4076
src/ia32/codegen-ia32.cc:4076: return frame()->Pop();
On 2010/02/12 12:23:06, fschneider wrote:
> Would it make sense to have a virtual frame function 
> "Result getParameterAt(index)" or 
> "Result getLocalAt(index)" instead of pushing/popping?

Yes, and PushParameterAt should go away.  That's a separate change I'll make
after it's no longer used.

Powered by Google App Engine
This is Rietveld 408576698