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

Issue 13474009: Implements optional parameter handling in MIPS vm. (Closed)

Created:
7 years, 8 months ago by zra
Modified:
7 years, 8 months ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implements optional parameter handling in MIPS vm. - Deocdes ic data and argument descriptor. - Removes SUB instruction from assembler and disassembler. Committed: https://code.google.com/p/dart/source/detail?r=20895

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -37 lines) Patch
M runtime/tests/vm/vm.status View 1 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/assembler_mips.h View 1 6 chunks +7 lines, -9 lines 0 comments Download
M runtime/vm/assembler_mips_test.cc View 1 2 1 chunk +40 lines, -0 lines 2 comments Download
M runtime/vm/code_patcher_mips.cc View 1 2 1 chunk +10 lines, -3 lines 0 comments Download
M runtime/vm/code_patcher_mips_test.cc View 1 1 chunk +24 lines, -2 lines 0 comments Download
M runtime/vm/disassembler_mips.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/vm/find_code_object_test.cc View 1 2 2 chunks +11 lines, -7 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 2 chunks +235 lines, -2 lines 2 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 chunks +32 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
zra
Note the FindCodeObject test modified for MIPS following our discussion this morning. Thanks! Zach
7 years, 8 months ago (2013-04-03 20:18:58 UTC) #1
regis
LGTM https://codereview.chromium.org/13474009/diff/7001/runtime/vm/assembler_mips_test.cc File runtime/vm/assembler_mips_test.cc (right): https://codereview.chromium.org/13474009/diff/7001/runtime/vm/assembler_mips_test.cc#newcode1001 runtime/vm/assembler_mips_test.cc:1001: __ jr(RA); Whether the branch is taken or ...
7 years, 8 months ago (2013-04-03 21:12:39 UTC) #2
zra
Thanks! https://codereview.chromium.org/13474009/diff/7001/runtime/vm/assembler_mips_test.cc File runtime/vm/assembler_mips_test.cc (right): https://codereview.chromium.org/13474009/diff/7001/runtime/vm/assembler_mips_test.cc#newcode1001 runtime/vm/assembler_mips_test.cc:1001: __ jr(RA); On 2013/04/03 21:12:39, regis wrote: > ...
7 years, 8 months ago (2013-04-03 21:41:00 UTC) #3
zra
Committed patchset #3 manually as r20895 (presubmit successful).
7 years, 8 months ago (2013-04-03 21:44:01 UTC) #4
regis
7 years, 8 months ago (2013-04-03 21:44:29 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/13474009/diff/14001/runtime/vm/assembler_mips...
File runtime/vm/assembler_mips_test.cc (right):

https://codereview.chromium.org/13474009/diff/14001/runtime/vm/assembler_mips...
runtime/vm/assembler_mips_test.cc:999: __ LoadImmediate(V0, 1);
You still miss the jr(RA), otherwise 1 is overwritten with 0 below.

https://codereview.chromium.org/13474009/diff/14001/runtime/vm/assembler_mips...
runtime/vm/assembler_mips_test.cc:1019: __ LoadImmediate(V0, 1);
ditto

https://codereview.chromium.org/13474009/diff/14001/runtime/vm/flow_graph_com...
File runtime/vm/flow_graph_compiler_mips.cc (right):

https://codereview.chromium.org/13474009/diff/14001/runtime/vm/flow_graph_com...
runtime/vm/flow_graph_compiler_mips.cc:229: __ addiu(T2, T2, Immediate(-4));
-kWordSize would be better.

https://codereview.chromium.org/13474009/diff/14001/runtime/vm/flow_graph_com...
runtime/vm/flow_graph_compiler_mips.cc:395: __ addiu(T2, T2, Immediate(-4));
ditto

Powered by Google App Engine
This is Rietveld 408576698