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

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed)

Created:
7 years, 11 months ago by regis
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). Committed: https://code.google.com/p/dart/source/detail?r=17246

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3646 lines, -1829 lines) Patch
M runtime/bin/gen_snapshot.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/allocation.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/assembler_arm.h View 1 2 3 4 5 6 7 8 4 chunks +82 lines, -5 lines 0 comments Download
A runtime/vm/assembler_arm.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 1 2 3 4 5 6 7 8 9 chunks +40 lines, -16 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_macros.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
A runtime/vm/assembler_macros_arm.h View 1 1 chunk +54 lines, -0 lines 0 comments Download
A runtime/vm/assembler_macros_arm.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download
M runtime/vm/assembler_test.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 3 4 5 6 7 8 8 chunks +34 lines, -13 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 4 5 6 7 8 5 chunks +10 lines, -10 lines 0 comments Download
M runtime/vm/code_patcher_arm.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -31 lines 0 comments Download
M runtime/vm/constants_arm.h View 1 2 3 4 5 6 7 8 3 chunks +106 lines, -2 lines 0 comments Download
M runtime/vm/constants_ia32.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/constants_x64.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/deopt_instructions.h View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -8 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 2 3 4 5 6 7 8 7 chunks +25 lines, -25 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_allocator.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 1 2 3 4 5 6 7 8 13 chunks +21 lines, -21 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 4 5 6 7 8 2 chunks +376 lines, -11 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 5 6 7 8 8 chunks +40 lines, -239 lines 0 comments Download
D runtime/vm/flow_graph_compiler_arm.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -59 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 4 5 6 7 8 2 chunks +329 lines, -6 lines 0 comments Download
D runtime/vm/flow_graph_compiler_ia32.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -375 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 5 6 7 8 19 chunks +218 lines, -30 lines 0 comments Download
D runtime/vm/flow_graph_compiler_x64.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -375 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 5 6 7 8 19 chunks +218 lines, -30 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -2 lines 0 comments Download
M runtime/vm/instructions.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
A runtime/vm/instructions_arm.h View 1 1 chunk +99 lines, -0 lines 0 comments Download
A runtime/vm/instructions_arm.cc View 1 1 chunk +44 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 8 5 chunks +1 line, -313 lines 0 comments Download
A runtime/vm/intermediate_language_arm.cc View 1 1 chunk +736 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 6 7 8 44 chunks +384 lines, -72 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 6 7 8 28 chunks +356 lines, -44 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 2 3 4 5 6 7 8 5 chunks +94 lines, -5 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 2 3 4 5 6 7 8 7 chunks +8 lines, -7 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 2 3 4 5 6 7 8 6 chunks +7 lines, -6 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -7 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/locations.h View 1 2 3 4 5 6 7 8 12 chunks +41 lines, -34 lines 0 comments Download
M runtime/vm/locations.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/object_store.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 3 4 5 6 7 8 7 chunks +95 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 3 4 5 6 7 8 20 chunks +20 lines, -20 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 4 5 6 7 8 20 chunks +20 lines, -20 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 4 5 6 7 8 5 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
regis
7 years, 11 months ago (2013-01-16 00:26:55 UTC) #1
Ivan Posva
First set of comments. -Ivan https://codereview.chromium.org/11956004/diff/1/runtime/vm/assembler_arm.h File runtime/vm/assembler_arm.h (right): https://codereview.chromium.org/11956004/diff/1/runtime/vm/assembler_arm.h#newcode63 runtime/vm/assembler_arm.h:63: bool HasNear() const { ...
7 years, 11 months ago (2013-01-16 01:17:56 UTC) #2
regis
First set of comments addressed. Thanks, Regis https://codereview.chromium.org/11956004/diff/1/runtime/vm/assembler_arm.h File runtime/vm/assembler_arm.h (right): https://codereview.chromium.org/11956004/diff/1/runtime/vm/assembler_arm.h#newcode63 runtime/vm/assembler_arm.h:63: bool HasNear() ...
7 years, 11 months ago (2013-01-16 01:55:07 UTC) #3
srdjan
LGTM with comments https://codereview.chromium.org/11956004/diff/11002/runtime/vm/assembler_arm.h File runtime/vm/assembler_arm.h (right): https://codereview.chromium.org/11956004/diff/11002/runtime/vm/assembler_arm.h#newcode19 runtime/vm/assembler_arm.h:19: // Operand can be sub classed ...
7 years, 11 months ago (2013-01-16 19:06:30 UTC) #4
regis
Thanks. Please, have another look. https://codereview.chromium.org/11956004/diff/11002/runtime/vm/assembler_arm.h File runtime/vm/assembler_arm.h (right): https://codereview.chromium.org/11956004/diff/11002/runtime/vm/assembler_arm.h#newcode19 runtime/vm/assembler_arm.h:19: // Operand can be ...
7 years, 11 months ago (2013-01-16 23:14:42 UTC) #5
srdjan
https://codereview.chromium.org/11956004/diff/11002/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/11956004/diff/11002/runtime/vm/flow_graph_optimizer.cc#newcode1314 runtime/vm/flow_graph_optimizer.cc:1314: #if defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64) On 2013/01/16 23:14:42, regis wrote: ...
7 years, 11 months ago (2013-01-16 23:57:56 UTC) #6
regis
Please, take another look and try to build on Mac. Thanks. https://codereview.chromium.org/11956004/diff/11002/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): ...
7 years, 11 months ago (2013-01-17 01:02:07 UTC) #7
Kevin Millikin (Google)
DBC. https://codereview.chromium.org/11956004/diff/10006/runtime/vm/allocation.h File runtime/vm/allocation.h (right): https://codereview.chromium.org/11956004/diff/10006/runtime/vm/allocation.h#newcode27 runtime/vm/allocation.h:27: DISALLOW_COPY_AND_ASSIGN(ValueObject); It seems strange and not useful that ...
7 years, 10 months ago (2013-02-04 11:15:03 UTC) #8
regis
7 years, 10 months ago (2013-02-04 16:41:44 UTC) #9
Message was sent while issue was closed.
Thanks Kevin.

-- Regis

https://codereview.chromium.org/11956004/diff/10006/runtime/vm/allocation.h
File runtime/vm/allocation.h (right):

https://codereview.chromium.org/11956004/diff/10006/runtime/vm/allocation.h#n...
runtime/vm/allocation.h:27: DISALLOW_COPY_AND_ASSIGN(ValueObject);
On 2013/02/04 11:15:03, kmillikin wrote:
> It seems strange and not useful that ValueObject is the base class of objects
> that *can't* be passed by value.

Objects deriving from ValueObject *can* be passed by value, but we want them to
declare their own copy constructor and assignment operator to make it clear.
As you can see by the number of patches (you are actually commenting on an older
patch :-) there was a lot of discussions here on what is the best style. The
compiler on the Mac is also buggy and difficult to please. We may revisit this
at some time.

https://codereview.chromium.org/11956004/diff/19002/runtime/vm/allocation.h
File runtime/vm/allocation.h (right):

https://codereview.chromium.org/11956004/diff/19002/runtime/vm/allocation.h#n...
runtime/vm/allocation.h:1: // Copyright (c) 2013, the Dart project authors. 
Please see the AUTHORS file
On 2013/02/04 11:15:04, kmillikin wrote:
> I think we decided to follow the Chromium project's guidelines and not update
> copyright dates when a file was changed.

Yes, it was brought to my attention and I stopped doing it. But I did not go
back to reset 2013 to the old year.

Powered by Google App Engine
This is Rietveld 408576698