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

Issue 481043002: Get rid of LookupRealNamedProperty and LookupRealNamedPropertyInPrototypes and update clients (Closed)

Created:
6 years, 4 months ago by Toon Verwaest
Modified:
6 years, 4 months ago
Reviewers:
aandrey, Jakob Kummerow
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Get rid of LookupRealNamedProperty and LookupRealNamedPropertyInPrototypes and update clients BUG= R=jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23202

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -100 lines) Patch
M src/api.cc View 4 chunks +22 lines, -31 lines 4 comments Download
M src/objects.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/objects.cc View 3 chunks +28 lines, -66 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Toon Verwaest
PTAL
6 years, 4 months ago (2014-08-18 16:44:40 UTC) #1
Jakob Kummerow
lgtm
6 years, 4 months ago (2014-08-19 14:21:22 UTC) #2
Toon Verwaest
Committed patchset #1 manually as 23202 (presubmit successful).
6 years, 4 months ago (2014-08-19 14:58:49 UTC) #3
aandrey
https://codereview.chromium.org/481043002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/481043002/diff/1/src/api.cc#newcode4058 src/api.cc:4058: i::LookupIterator it(func, property_name, this var is not used, or ...
6 years, 4 months ago (2014-08-19 16:01:15 UTC) #4
Toon Verwaest
https://codereview.chromium.org/481043002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/481043002/diff/1/src/api.cc#newcode4058 src/api.cc:4058: i::LookupIterator it(func, property_name, On 2014/08/19 16:01:15, aandrey wrote: > ...
6 years, 4 months ago (2014-08-19 16:04:49 UTC) #5
loislo
6 years, 4 months ago (2014-08-20 14:09:17 UTC) #6
Message was sent while issue was closed.
On 2014/08/19 16:04:49, Toon Verwaest wrote:
> https://codereview.chromium.org/481043002/diff/1/src/api.cc
> File src/api.cc (right):
> 
> https://codereview.chromium.org/481043002/diff/1/src/api.cc#newcode4058
> src/api.cc:4058: i::LookupIterator it(func, property_name,
> On 2014/08/19 16:01:15, aandrey wrote:
> > this var is not used, or does it behave like a scope? (then
> LookupIteratorScope
> > would be a better name)
> 
> I just realized, hence https://codereview.chromium.org/485113003/
> 
> https://codereview.chromium.org/481043002/diff/1/src/api.cc#newcode4062
> src/api.cc:4062: i::JSObject::GetDataProperty(func, property_name);
> On 2014/08/19 16:01:15, aandrey wrote:
> > this should not result in any side effects, like calling getter functions
> > (that's why GetLazyValue was used). is it still the case?
> 
> Yes, that's what GetDataProperty is for.

REGRESSION: window.localStorage doesn't persist its content after this patch
1) open devtools
2) select sources tab
3) reopen devtools

expected: sources tab is selected

actual: elements tab is selected

Powered by Google App Engine
This is Rietveld 408576698