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

Issue 1292283005: Prototype CL for faster DOM accessors.

Created:
5 years, 4 months ago by vogelheim
Modified:
5 years, 2 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Prototype for faster DOM accessors. - This is somewhat experimental; hence protected by #ifdef. - This depends logically on crrev.com/1367953002, although it's technically independent. R=epertoso@chromium.org, jochen@chromium.org BUG=chromium:508898 LOG=N

Patch Set 1 #

Total comments: 10

Patch Set 2 : #ifdef + feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -1 line) Patch
M BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 chunks +13 lines, -1 line 0 comments Download
A src/runtime/runtime-ptr.cc View 1 1 chunk +118 lines, -0 lines 2 comments Download
M tools/gyp/v8.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
epertoso
https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc File src/runtime/runtime-ptr.cc (right): https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc#newcode30 src/runtime/runtime-ptr.cc:30: return *reinterpret_cast<aligned_ptr_t*>(&value); just return reinterpret_cast<aligned_ptr>(value). https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc#newcode35 src/runtime/runtime-ptr.cc:35: Object* object ...
5 years, 2 months ago (2015-09-25 08:22:54 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc File src/runtime/runtime-ptr.cc (right): https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc#newcode84 src/runtime/runtime-ptr.cc:84: RUNTIME_FUNCTION(Runtime_PtrLoadOffsetInt) { why not PtrTestIntAtOffset() or something?
5 years, 2 months ago (2015-09-25 11:20:12 UTC) #3
vogelheim
https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc File src/runtime/runtime-ptr.cc (right): https://codereview.chromium.org/1292283005/diff/1/src/runtime/runtime-ptr.cc#newcode30 src/runtime/runtime-ptr.cc:30: return *reinterpret_cast<aligned_ptr_t*>(&value); On 2015/09/25 08:22:53, epertoso wrote: > just ...
5 years, 2 months ago (2015-09-29 11:15:17 UTC) #4
vogelheim
@toon: Please let us know whether you're ok with this being checked in in this ...
5 years, 2 months ago (2015-09-29 11:36:12 UTC) #6
Toon Verwaest
5 years, 2 months ago (2015-09-30 13:57:19 UTC) #7
I don't have a particular beef with it.
Some minor comments.

https://codereview.chromium.org/1292283005/diff/20001/src/runtime/runtime-ptr.cc
File src/runtime/runtime-ptr.cc (right):

https://codereview.chromium.org/1292283005/diff/20001/src/runtime/runtime-ptr...
src/runtime/runtime-ptr.cc:39: static Object* fromAlignedPtr(aligned_ptr_t
value) {
Camelcase function names should start with uppercase.

https://codereview.chromium.org/1292283005/diff/20001/src/runtime/runtime-ptr...
src/runtime/runtime-ptr.cc:111: return (ptr == 0) ?
isolate->heap()->true_value()
return isolate->heap()->ToBoolean(ptr == nullptr);

Powered by Google App Engine
This is Rietveld 408576698