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

Issue 2741683004: [rename] Rename internal field to embedder field. (Closed)

Created:
3 years, 9 months ago by titzer
Modified:
3 years, 9 months ago
CC:
Hannes Payer (out of office), v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[rename] Rename internal field to embedder field. This CL renames all occurrences of "internal field" to "embedder field" to prevent confusion. As it turns out, these fields are not internal to V8, but are actually embedder provided fields that should not be mucked with by the internal implementation of V8. Note that WASM does use these fields, and it should not. BUG=v8:6058 Review-Url: https://codereview.chromium.org/2741683004 Cr-Commit-Position: refs/heads/master@{#43900} Committed: https://chromium.googlesource.com/v8/v8/+/72e539360ed644c905b0a67b02b3d63b18a282a7

Patch Set 1 #

Patch Set 2 : [rename] Rename internal field to embedder field. #

Patch Set 3 : DEPRECATE_SOON(GetInternalField) #

Total comments: 1

Patch Set 4 : Move return type into V8_DEPRECATED macro #

Patch Set 5 : Deprecate and inline? #

Patch Set 6 : Another try at not deprecating #

Patch Set 7 : Remove API changes #

Total comments: 1

Patch Set 8 : Rebase #

Patch Set 9 : [rename] Rename internal field to embedder field. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -341 lines) Patch
M include/v8.h View 1 2 3 4 5 6 12 chunks +19 lines, -12 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 20 chunks +36 lines, -44 lines 0 comments Download
M src/api-natives.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M src/bootstrapper.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 6 7 11 chunks +12 lines, -12 lines 0 comments Download
M src/builtins/builtins-dataview.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/builtins-typedarray-gen.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -5 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/factory.cc View 1 2 3 4 5 6 3 chunks +9 lines, -9 lines 0 comments Download
M src/ffi/ffi-compiler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/global-handles.h View 3 chunks +6 lines, -6 lines 0 comments Download
M src/global-handles.cc View 1 2 3 4 5 6 6 chunks +12 lines, -12 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -8 lines 0 comments Download
M src/i18n.cc View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 11 chunks +24 lines, -24 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 5 chunks +17 lines, -19 lines 0 comments Download
M src/objects-body-descriptors.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 5 chunks +17 lines, -22 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -7 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M src/runtime/runtime-i18n.cc View 1 2 3 4 5 6 6 chunks +11 lines, -11 lines 0 comments Download
M src/runtime/runtime-typedarray.cc View 1 2 3 4 5 6 2 chunks +8 lines, -8 lines 0 comments Download
M src/snapshot/deserializer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/snapshot/deserializer.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M src/snapshot/partial-serializer.h View 2 chunks +4 lines, -4 lines 0 comments Download
M src/snapshot/partial-serializer.cc View 4 chunks +22 lines, -22 lines 0 comments Download
M src/snapshot/serializer-common.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/snapshot/snapshot.h View 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/snapshot-common.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/value-serializer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/wasm-js.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 3 4 5 6 7 14 chunks +31 lines, -31 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 9 chunks +2 lines, -11 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -10 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 62 (38 generated)
titzer
PTAL
3 years, 9 months ago (2017-03-13 09:04:38 UTC) #14
Yang
On 2017/03/13 09:04:38, titzer wrote: > PTAL src/snapshot lgtm.
3 years, 9 months ago (2017-03-13 09:15:08 UTC) #15
Yang
On 2017/03/13 09:15:08, Yang wrote: > On 2017/03/13 09:04:38, titzer wrote: > > PTAL > ...
3 years, 9 months ago (2017-03-13 09:15:26 UTC) #16
jochen (gone - plz use gerrit)
lgtm
3 years, 9 months ago (2017-03-13 09:24:35 UTC) #17
Michael Lippautz
On 2017/03/13 09:24:35, jochen wrote: > lgtm lgtm (mostly rubber)
3 years, 9 months ago (2017-03-13 09:26:30 UTC) #18
vogelheim
lgtm Nice! Two things, though: 1, Some of the bots have compiler failures, so I ...
3 years, 9 months ago (2017-03-13 09:33:01 UTC) #19
adamk
I can understand confusion within V8, but it's not clear to me why this confusion ...
3 years, 9 months ago (2017-03-13 22:01:10 UTC) #33
titzer
On 2017/03/13 22:01:10, adamk wrote: > I can understand confusion within V8, but it's not ...
3 years, 9 months ago (2017-03-14 08:52:27 UTC) #34
jochen (gone - plz use gerrit)
actually, I think Adam's point is valid. You want to help V8 developers to avoid ...
3 years, 9 months ago (2017-03-14 13:12:42 UTC) #35
titzer
On 2017/03/14 13:12:42, jochen wrote: > actually, I think Adam's point is valid. You want ...
3 years, 9 months ago (2017-03-14 13:29:46 UTC) #36
jochen (gone - plz use gerrit)
yeah, that sounds like the right compromise
3 years, 9 months ago (2017-03-14 13:31:56 UTC) #37
ulan
On 2017/03/14 13:12:42, jochen wrote: > actually, I think Adam's point is valid. You want ...
3 years, 9 months ago (2017-03-14 13:35:43 UTC) #38
titzer
On 2017/03/14 13:35:43, ulan wrote: > On 2017/03/14 13:12:42, jochen wrote: > > actually, I ...
3 years, 9 months ago (2017-03-14 13:39:37 UTC) #39
titzer
On 2017/03/14 13:39:37, titzer wrote: > On 2017/03/14 13:35:43, ulan wrote: > > On 2017/03/14 ...
3 years, 9 months ago (2017-03-14 17:17:43 UTC) #44
vogelheim
lgtm - Looks even better now! :) https://codereview.chromium.org/2741683004/diff/120001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/2741683004/diff/120001/src/objects.h#newcode10441 src/objects.h:10441: // [object]: ...
3 years, 9 months ago (2017-03-15 09:43:51 UTC) #45
jochen (gone - plz use gerrit)
why do you still change include/v8.h?
3 years, 9 months ago (2017-03-15 15:51:00 UTC) #46
titzer
On 2017/03/15 15:51:00, jochen wrote: > why do you still change include/v8.h? It defines a ...
3 years, 9 months ago (2017-03-15 15:54:43 UTC) #47
adamk
lgtm from my end, thanks
3 years, 9 months ago (2017-03-16 16:36:11 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741683004/160001
3 years, 9 months ago (2017-03-16 17:58:35 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/36902)
3 years, 9 months ago (2017-03-16 18:05:01 UTC) #53
titzer
On 2017/03/16 18:05:01, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-16 19:17:27 UTC) #56
Toon Verwaest
lgtm
3 years, 9 months ago (2017-03-17 13:23:01 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741683004/160001
3 years, 9 months ago (2017-03-17 13:23:43 UTC) #59
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 13:26:14 UTC) #62
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/72e539360ed644c905b0a67b02b3d63b18a...

Powered by Google App Engine
This is Rietveld 408576698