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

Issue 1316943002: Move (uppercase) JS builtins from js builtins object to native context. (Closed)

Created:
5 years, 3 months ago by Yang
Modified:
5 years, 3 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

Move (uppercase) JS builtins from js builtins object to native context. R=bmeurer@chromium.org, mstarzinger@chromium.org, rmcilroy@chromium.org Committed: https://crrev.com/b42c4459e64bb8afff40917ed5df1cd1edc6642b Cr-Commit-Position: refs/heads/master@{#30402}

Patch Set 1 #

Total comments: 3

Patch Set 2 : ports and added one more interpreter unit test #

Patch Set 3 : remove Isolate::js_builtins_object #

Unified diffs Side-by-side diffs Delta from patch set Stats (+582 lines, -598 lines) Patch
M src/api.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/arm/builtins-arm.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 6 chunks +13 lines, -10 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 6 chunks +13 lines, -10 lines 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 1 chunk +5 lines, -8 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 1 chunk +8 lines, -11 lines 0 comments Download
M src/bootstrapper.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/bootstrapper.cc View 1 1 chunk +0 lines, -17 lines 0 comments Download
M src/builtins.h View 4 chunks +0 lines, -54 lines 0 comments Download
M src/builtins.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/compiler/ast-graph-builder.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 3 chunks +11 lines, -10 lines 0 comments Download
M src/compiler/interpreter-assembler.h View 2 chunks +7 lines, -4 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 2 chunks +17 lines, -15 lines 0 comments Download
M src/compiler/js-generic-lowering.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-generic-lowering.cc View 4 chunks +11 lines, -12 lines 0 comments Download
M src/compiler/pipeline.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/contexts.h View 3 chunks +55 lines, -1 line 0 comments Download
M src/contexts.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/hydrogen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.cc View 5 chunks +11 lines, -10 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 8 chunks +12 lines, -10 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 6 chunks +13 lines, -10 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 2 chunks +9 lines, -10 lines 0 comments Download
M src/ic/ic.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/ic/ic.cc View 2 chunks +47 lines, -26 lines 0 comments Download
M src/interpreter/interpreter.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/interpreter.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M src/isolate.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 6 chunks +13 lines, -10 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 chunks +4 lines, -10 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 6 chunks +13 lines, -10 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 chunks +4 lines, -10 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M src/objects.h View 1 1 chunk +2 lines, -15 lines 0 comments Download
M src/objects-inl.h View 1 chunk +0 lines, -14 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/ppc/code-stubs-ppc.cc View 1 7 chunks +15 lines, -12 lines 0 comments Download
M src/ppc/macro-assembler-ppc.h View 1 1 chunk +4 lines, -5 lines 0 comments Download
M src/ppc/macro-assembler-ppc.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M src/runtime.js View 1 chunk +42 lines, -42 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-internal.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 6 chunks +13 lines, -10 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 8 chunks +12 lines, -10 lines 0 comments Download
M src/x87/code-stubs-x87.cc View 1 6 chunks +13 lines, -10 lines 0 comments Download
M src/x87/macro-assembler-x87.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M src/x87/macro-assembler-x87.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 3 chunks +21 lines, -14 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (5 generated)
Yang
Can I get a round of comments before porting?
5 years, 3 months ago (2015-08-26 13:46:08 UTC) #1
Michael Starzinger
I would be fine with going for this approach. Looking good.
5 years, 3 months ago (2015-08-26 13:56:35 UTC) #2
rmcilroy
Interpreter changes look good to me.
5 years, 3 months ago (2015-08-26 14:07:57 UTC) #3
Michael Starzinger
LGTM modulo architecture ports. Didn't look at interpreter though. https://codereview.chromium.org/1316943002/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1316943002/diff/1/src/compiler/ast-graph-builder.cc#newcode2544 src/compiler/ast-graph-builder.cc:2544: ...
5 years, 3 months ago (2015-08-26 14:16:42 UTC) #4
Yang
On 2015/08/26 14:16:42, Michael Starzinger wrote: > LGTM modulo architecture ports. Didn't look at interpreter ...
5 years, 3 months ago (2015-08-26 14:18:52 UTC) #5
Michael Starzinger
On 2015/08/26 14:18:52, Yang wrote: > On 2015/08/26 14:16:42, Michael Starzinger wrote: > > LGTM ...
5 years, 3 months ago (2015-08-26 14:23:15 UTC) #6
Benedikt Meurer
LGTM once ports are done.
5 years, 3 months ago (2015-08-27 04:45:52 UTC) #7
rmcilroy
Interpreter LGTM with one nit. https://codereview.chromium.org/1316943002/diff/1/test/unittests/compiler/interpreter-assembler-unittest.cc File test/unittests/compiler/interpreter-assembler-unittest.cc (right): https://codereview.chromium.org/1316943002/diff/1/test/unittests/compiler/interpreter-assembler-unittest.cc#newcode276 test/unittests/compiler/interpreter-assembler-unittest.cc:276: IsIntPtrConstant(Context::SlotOffset(22)))); nit - could ...
5 years, 3 months ago (2015-08-27 08:37:16 UTC) #8
Yang
Added platform ports and unittest for interpreter assembler. Do you guys want to look at ...
5 years, 3 months ago (2015-08-27 09:02:27 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316943002/20001
5 years, 3 months ago (2015-08-27 09:02:42 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316943002/40001
5 years, 3 months ago (2015-08-27 09:04:32 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 10:09:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316943002/40001
5 years, 3 months ago (2015-08-27 10:16:41 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-08-27 10:18:29 UTC) #19
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 10:18:57 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b42c4459e64bb8afff40917ed5df1cd1edc6642b
Cr-Commit-Position: refs/heads/master@{#30402}

Powered by Google App Engine
This is Rietveld 408576698