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

Issue 1354663002: PPC: [builtins] Unify the String constructor. (Closed)

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

PPC: [builtins] Unify the String constructor. Port a3d6f6cce317dbe1d31079eb81e15e49f3fb687a Original commit message: Implement the String constructor completely as native builtin, avoiding the need to do gymnastics in JavaScript builtin to properly detect the no argument case (which is different from the undefined argument case) and also allowing to just tailcall through to ToString or SymbolDescriptiveString for the common case. Also the JavaScript builtin was misleading since the case for construct call was unused, but could be triggered in a wrong way once we support tail calls from constructor functions. This refactoring allows us to properly implement subclassing for String builtins, once we have the correct initial_map on derived classes (it's merely a matter of using NewTarget instead of the target register now). This introduces a new %SymbolDescriptiveString runtime entry, which is also used by Symbol.toString() now. R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com BUG= Committed: https://crrev.com/b82efa829041c3452a5f5aa4c2ff9a8e884aa240 Cr-Commit-Position: refs/heads/master@{#30809}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -13 lines) Patch
M src/ppc/builtins-ppc.cc View 3 chunks +70 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
MTBrandyberry
5 years, 3 months ago (2015-09-17 16:15:30 UTC) #1
john.yan
lgtm
5 years, 3 months ago (2015-09-17 16:28:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354663002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354663002/1
5 years, 3 months ago (2015-09-17 16:40:33 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-09-17 17:14:11 UTC) #7
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 17:14:26 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b82efa829041c3452a5f5aa4c2ff9a8e884aa240
Cr-Commit-Position: refs/heads/master@{#30809}

Powered by Google App Engine
This is Rietveld 408576698