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

Issue 1801023002: [Interpreter]: Move builtin-id from function_data to function_identifier. (Closed)

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

Description

[Interpreter]: Move builtin-id from function_data to function_identifier. Functions with builtin ids can be compiled with Ignition, so it is no longer an option to overlap the bytecode_array field with the builtin id on the SharedFunctionInfo object. Instead overlap it with the inferred_name, which is only used for debug and so shouldn't be required for functions with builtin ids. This result in the inferred_name field being renamed to function_identifier, and adding typed accessors for inferred_name and builtin_function_id. This is required to build the snapshot with --no-lazy. BUG=v8:4280 LOG=N Committed: https://crrev.com/6bdb9705122a93ade754c663c1907f5778d3abd6 Cr-Commit-Position: refs/heads/master@{#34867}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Blacklist generator builtins. #

Patch Set 3 : Don't compile generator builtins in ignition either #

Total comments: 4

Patch Set 4 : Review comments #

Patch Set 5 : Fix typo #

Total comments: 1

Patch Set 6 : Remove UNREACHABLE() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -43 lines) Patch
M src/compiler.cc View 1 2 3 4 1 chunk +8 lines, -6 lines 0 comments Download
M src/factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 3 chunks +20 lines, -16 lines 0 comments Download
M src/objects-inl.h View 4 5 3 chunks +33 lines, -17 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801023002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801023002/1
4 years, 9 months ago (2016-03-15 13:07:49 UTC) #2
rmcilroy
Michi / Yang, PTAL, thanks.
4 years, 9 months ago (2016-03-15 13:20:10 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/15365) v8_win64_rel_ng on ...
4 years, 9 months ago (2016-03-15 13:24:39 UTC) #6
Michael Starzinger
https://codereview.chromium.org/1801023002/diff/1/src/compiler.cc File src/compiler.cc (left): https://codereview.chromium.org/1801023002/diff/1/src/compiler.cc#oldcode789 src/compiler.cc:789: static bool UseIgnition(CompilationInfo* info) { As discussed offline: We ...
4 years, 9 months ago (2016-03-15 14:19:13 UTC) #7
Michael Starzinger
LGTM.
4 years, 9 months ago (2016-03-15 14:27:27 UTC) #8
rmcilroy
https://codereview.chromium.org/1801023002/diff/1/src/compiler.cc File src/compiler.cc (left): https://codereview.chromium.org/1801023002/diff/1/src/compiler.cc#oldcode789 src/compiler.cc:789: static bool UseIgnition(CompilationInfo* info) { On 2016/03/15 14:19:13, Michael ...
4 years, 9 months ago (2016-03-15 17:31:46 UTC) #9
Michael Starzinger
https://codereview.chromium.org/1801023002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1801023002/diff/1/src/objects-inl.h#newcode5956 src/objects-inl.h:5956: void SharedFunctionInfo::set_builtin_function_id(BuiltinFunctionId id) { On 2016/03/15 17:31:46, rmcilroy wrote: ...
4 years, 9 months ago (2016-03-15 17:39:42 UTC) #10
Yang
LGTM https://codereview.chromium.org/1801023002/diff/40001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1801023002/diff/40001/src/objects-inl.h#newcode5968 src/objects-inl.h:5968: DCHECK(function_identifier()->IsUndefined() || HasBuiltinFunctionId()); Can we make this UNREACHABLE ...
4 years, 9 months ago (2016-03-16 12:45:20 UTC) #11
rmcilroy
https://codereview.chromium.org/1801023002/diff/40001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1801023002/diff/40001/src/compiler.cc#newcode804 src/compiler.cc:804: if (IsGeneratorFunctionOrBuiltin(info)) { On 2016/03/15 17:39:41, Michael Starzinger wrote: ...
4 years, 9 months ago (2016-03-16 13:24:24 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801023002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801023002/60001
4 years, 9 months ago (2016-03-16 13:24:37 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/15317) v8_linux64_avx2_rel on ...
4 years, 9 months ago (2016-03-16 13:27:48 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801023002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801023002/80001
4 years, 9 months ago (2016-03-16 14:18:16 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/4443) v8_win_rel_ng_triggered on ...
4 years, 9 months ago (2016-03-16 14:38:02 UTC) #20
rmcilroy
https://codereview.chromium.org/1801023002/diff/80001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1801023002/diff/80001/src/objects-inl.h#newcode5968 src/objects-inl.h:5968: UNREACHABLE(); Yang: This ends up getting hit in ParseLazy ...
4 years, 9 months ago (2016-03-17 14:41:23 UTC) #21
Yang
On 2016/03/17 14:41:23, rmcilroy wrote: > https://codereview.chromium.org/1801023002/diff/80001/src/objects-inl.h > File src/objects-inl.h (right): > > https://codereview.chromium.org/1801023002/diff/80001/src/objects-inl.h#newcode5968 > ...
4 years, 9 months ago (2016-03-17 15:01:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801023002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801023002/100001
4 years, 9 months ago (2016-03-17 16:14:35 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-17 16:37:44 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 16:38:08 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6bdb9705122a93ade754c663c1907f5778d3abd6
Cr-Commit-Position: refs/heads/master@{#34867}

Powered by Google App Engine
This is Rietveld 408576698