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

Issue 2486193003: [typedarrays] Remove duplicate initial map creation (Closed)

Created:
4 years, 1 month ago by gsathya
Modified:
4 years, 1 month ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[typedarrays] Remove duplicate initial map creation Previously we created a duplicate map because we couldn't set the correct ElementsKind when we created the function. This patch updates the ElementsKind field of the existing map directly instead of creating a new one. This patch also correctly sets the instance_size when we create the map the first time. Committed: https://crrev.com/9e07c96fedc860873be367e5ad113f8fa0e66a9d Cr-Commit-Position: refs/heads/master@{#40872}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -10 lines) Patch
M src/bootstrapper.cc View 1 chunk +4 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
gsathya
Instead of directly setting elements_kind(), I could create a new InstallFunction and factory->NewFunction that take ...
4 years, 1 month ago (2016-11-10 01:26:18 UTC) #5
adamk
The set_elements_kind call you have seems OK to me. lgtm and thanks for the cleanup!
4 years, 1 month ago (2016-11-10 01:35:21 UTC) #6
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/2486193003/1
4 years, 1 month ago (2016-11-10 01:47:27 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-10 01:49:29 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:28:05 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9e07c96fedc860873be367e5ad113f8fa0e66a9d
Cr-Commit-Position: refs/heads/master@{#40872}

Powered by Google App Engine
This is Rietveld 408576698