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

Issue 294973013: MIPS: Reland r21442 "Inobject slack tracking is done on a per-closure basis instead of per-shared i… (Closed)

Created:
6 years, 7 months ago by kilvadyb
Modified:
6 years, 6 months ago
CC:
v8-dev
Base URL:
https://github.com/v8/v8.git@gbl
Visibility:
Public.

Description

MIPS: Reland r21442 "Inobject slack tracking is done on a per-closure basis instead of per-shared info basis." Port r21457 (8db39a8) Original commit message: This fixes inobject slack tracking for prototype inheritance pattern that uses closures. BUG=

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fix nits. #

Patch Set 3 : Fix #2 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -44 lines) Patch
M src/mips/builtins-mips.cc View 1 2 9 chunks +39 lines, -41 lines 2 comments Download
M src/mips/macro-assembler-mips.h View 1 chunk +11 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kilvadyb
6 years, 7 months ago (2014-05-23 14:13:53 UTC) #1
Paul Lind
One comment, PTAL https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc#newcode440 src/mips/builtins-mips.cc:440: Label no_inobject_slack_tracking; The deleted LoadRoot for ...
6 years, 7 months ago (2014-05-23 15:01:44 UTC) #2
Igor Sheludko
https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc#newcode390 src/mips/builtins-mips.cc:390: __ DecodeField<Map::ConstructionCount>(a3, t0); What do you think about storing ...
6 years, 7 months ago (2014-05-23 15:04:18 UTC) #3
Paul Lind
Thanks for detailed review Igor! https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc#newcode390 src/mips/builtins-mips.cc:390: __ DecodeField<Map::ConstructionCount>(a3, t0); On ...
6 years, 7 months ago (2014-05-23 15:33:39 UTC) #4
kilvadyb
https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/294973013/diff/1/src/mips/builtins-mips.cc#newcode390 src/mips/builtins-mips.cc:390: __ DecodeField<Map::ConstructionCount>(a3, t0); On 2014/05/23 15:33:39, Paul Lind wrote: ...
6 years, 7 months ago (2014-05-23 17:51:50 UTC) #5
Paul Lind
lgtm
6 years, 7 months ago (2014-05-23 18:01:34 UTC) #6
Paul Lind
Committed as r21470.
6 years, 7 months ago (2014-05-23 18:06:52 UTC) #7
Igor Sheludko
Sorry for being late, but... https://codereview.chromium.org/294973013/diff/40001/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/294973013/diff/40001/src/mips/builtins-mips.cc#newcode401 src/mips/builtins-mips.cc:401: __ Pop(a1, a2); t2 ...
6 years, 7 months ago (2014-05-23 18:10:19 UTC) #8
Paul Lind
On 2014/05/23 18:10:19, Igor Sheludko wrote: > t2 must be set to zero here (which ...
6 years, 7 months ago (2014-05-23 18:38:22 UTC) #9
Paul Lind
6 years, 7 months ago (2014-05-23 18:46:35 UTC) #10
Of course t2 is just clobbered, and knowing runtime call sets count to 0 lets us
avoid reloading it.

Powered by Google App Engine
This is Rietveld 408576698