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

Issue 954863002: MIPS: Move Maps' back pointers from "transitions" to "constructor" field (Closed)

Created:
5 years, 10 months ago by akos.palfi.imgtec
Modified:
5 years, 10 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

MIPS: Move Maps' back pointers from "transitions" to "constructor" field Port affcfaf42801414d25b3e57271a9803a026f40ed BUG= Committed: https://crrev.com/ee908a2b6a5266d8ae90422a9c054d392e1f8987 Cr-Commit-Position: refs/heads/master@{#26837}

Patch Set 1 #

Patch Set 2 : Fixed register conflict. #

Patch Set 3 : Fix register conflict again. #

Total comments: 6

Patch Set 4 : Fix nits. #

Total comments: 2

Patch Set 5 : Fixed mips64. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -16 lines) Patch
M src/mips/full-codegen-mips.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 1 chunk +6 lines, -4 lines 1 comment Download
M src/mips/macro-assembler-mips.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 2 chunks +15 lines, -1 line 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
akos.palfi.imgtec
PTAL.
5 years, 10 months ago (2015-02-25 01:59:57 UTC) #2
paul.l...
LGTM. But a couple nits, and a suggestion for a follow-on small optimization. https://codereview.chromium.org/954863002/diff/40001/src/mips/lithium-codegen-mips.cc File ...
5 years, 10 months ago (2015-02-25 02:17:56 UTC) #3
akos.palfi.imgtec
Fixed nits. https://codereview.chromium.org/954863002/diff/40001/src/mips/lithium-codegen-mips.cc File src/mips/lithium-codegen-mips.cc (right): https://codereview.chromium.org/954863002/diff/40001/src/mips/lithium-codegen-mips.cc#newcode2660 src/mips/lithium-codegen-mips.cc:2660: Register instance_type = scratch1(); On 2015/02/25 02:17:56, ...
5 years, 10 months ago (2015-02-25 02:25:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954863002/80001
5 years, 10 months ago (2015-02-25 02:38:03 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-25 03:25:00 UTC) #8
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/ee908a2b6a5266d8ae90422a9c054d392e1f8987 Cr-Commit-Position: refs/heads/master@{#26837}
5 years, 10 months ago (2015-02-25 03:25:16 UTC) #9
paul.l...
We need to find different scratch register usage, as we get DCHECK fails. This fixes ...
5 years, 10 months ago (2015-02-25 05:00:10 UTC) #10
Jakob Kummerow
5 years, 10 months ago (2015-02-25 09:39:46 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/954863002/diff/60001/src/mips/macro-assembler...
File src/mips/macro-assembler-mips.cc (right):

https://codereview.chromium.org/954863002/diff/60001/src/mips/macro-assembler...
src/mips/macro-assembler-mips.cc:4390: GetMapConstructor(result, result,
scratch, at);
On 2015/02/25 05:00:09, paul.l... wrote:
> Use of 'at' here causes a assert fail in the Branch above at line 4331. temp2
> cannot be 'at'.

You can probably just use "(result, result, scratch, scratch)".

https://codereview.chromium.org/954863002/diff/80001/src/mips/lithium-codegen...
File src/mips/lithium-codegen-mips.cc (right):

https://codereview.chromium.org/954863002/diff/80001/src/mips/lithium-codegen...
src/mips/lithium-codegen-mips.cc:2662: DCHECK(!instance_type.is(temp2));
DBC: having |instance_type| and |temp2| overlap shouldn't matter, since the code
below doesn't care about the contents of |temp2|.

Powered by Google App Engine
This is Rietveld 408576698