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

Issue 10735023: Added Crankshaft support for JavaScript getters. (Closed)

Created:
8 years, 5 months ago by Sven Panne
Modified:
8 years, 5 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Added Crankshaft support for JavaScript getters. Instead of calling the getter via a stub, we now call it more directly via a (guarded) CallConstantFunction instruction. Committed: https://code.google.com/p/v8/source/detail?r=12013

Patch Set 1 #

Total comments: 1

Patch Set 2 : Whitespace changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M src/hydrogen.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Sven Panne
8 years, 5 months ago (2012-07-09 11:12:13 UTC) #1
Jakob Kummerow
8 years, 5 months ago (2012-07-09 11:21:48 UTC) #2
LGTM with a nit.

http://codereview.chromium.org/10735023/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/10735023/diff/1/src/hydrogen.cc#newcode5671
src/hydrogen.cc:5671: Handle<Object> callback(lookup.GetValueFromMap(*map));
nit: indentation

Powered by Google App Engine
This is Rietveld 408576698