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

Issue 2152693002: [stubs] Introduce NonPrimitiveToPrimitive builtin. (Closed)

Created:
4 years, 5 months ago by Benedikt Meurer
Modified:
4 years, 5 months ago
Reviewers:
Igor Sheludko
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

[stubs] Introduce NonPrimitiveToPrimitive builtin. This adds initial support for ToPrimitive in JavaScript w/o having to call out to C++. This uses the newly introduced GetPropertyStub. R=ishell@chromium.org Committed: https://crrev.com/88531cc757b687a8fc69ed2105c3268035500a4f Cr-Commit-Position: refs/heads/master@{#37753}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -62 lines) Patch
M src/builtins/builtins.h View 2 chunks +19 lines, -11 lines 0 comments Download
M src/builtins/builtins.cc View 1 2 chunks +184 lines, -0 lines 0 comments Download
M src/code-factory.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/code-factory.cc View 3 chunks +19 lines, -1 line 0 comments Download
M src/code-stubs.cc View 1 9 chunks +27 lines, -27 lines 0 comments Download
M src/compiler/code-assembler.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/code-assembler.cc View 2 chunks +22 lines, -0 lines 0 comments Download
M src/factory.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/factory.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/globals.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/objects.h View 2 chunks +2 lines, -10 lines 0 comments Download
M src/objects.cc View 1 chunk +2 lines, -12 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
Benedikt Meurer
4 years, 5 months ago (2016-07-14 08:23:08 UTC) #1
Benedikt Meurer
Hey Igor, Here's the first user for GetPropertyStub. :-) Please take a look. Thanks, Benedikt
4 years, 5 months ago (2016-07-14 08:29:28 UTC) #4
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/2152693002/diff/1/src/builtins/builtins.cc File src/builtins/builtins.cc (right): https://codereview.chromium.org/2152693002/diff/1/src/builtins/builtins.cc#newcode6229 src/builtins/builtins.cc:6229: Node* result_instance_type = assembler->LoadInstanceType(result); STATIC_ASSERT(FIRST_PRIMITIVE_TYPE ...
4 years, 5 months ago (2016-07-14 09:41:26 UTC) #7
Igor Sheludko
another nit: https://codereview.chromium.org/2152693002/diff/1/src/builtins/builtins.cc File src/builtins/builtins.cc (right): https://codereview.chromium.org/2152693002/diff/1/src/builtins/builtins.cc#newcode6166 src/builtins/builtins.cc:6166: Node* result_instance_type = assembler->LoadInstanceType(result); Same here: STATIC_ASSERT(FIRST_PRIMITIVE_TYPE ...
4 years, 5 months ago (2016-07-14 09:53:47 UTC) #8
Benedikt Meurer
https://codereview.chromium.org/2152693002/diff/1/src/builtins/builtins.cc File src/builtins/builtins.cc (right): https://codereview.chromium.org/2152693002/diff/1/src/builtins/builtins.cc#newcode6166 src/builtins/builtins.cc:6166: Node* result_instance_type = assembler->LoadInstanceType(result); On 2016/07/14 09:53:47, Igor Sheludko ...
4 years, 5 months ago (2016-07-14 09:56:10 UTC) #9
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/2152693002/20001
4 years, 5 months ago (2016-07-14 09:57:02 UTC) #12
Igor Sheludko
Stopped committing because MultiplyStub::Generate() changes in patch set 2 do not belong to this CL.
4 years, 5 months ago (2016-07-14 10:04:17 UTC) #14
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/2152693002/20001
4 years, 5 months ago (2016-07-14 10:23:29 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-14 10:25:52 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 10:27:03 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/88531cc757b687a8fc69ed2105c3268035500a4f
Cr-Commit-Position: refs/heads/master@{#37753}

Powered by Google App Engine
This is Rietveld 408576698