OSDN Git Service

Tidy ELF builder.
authorIan Rogers <irogers@google.com>
Thu, 9 Oct 2014 00:27:48 +0000 (17:27 -0700)
committerIan Rogers <irogers@google.com>
Thu, 9 Oct 2014 15:25:34 +0000 (08:25 -0700)
commit0279ebb3efd653e6bb255470c99d26949c7bcd95
treed58b29754f7b3c88616e6e4d6c19346821d244ae
parentf1f05d303988a5c071c87b760056be8358276c94
Tidy ELF builder.

Don't do "if (ptr)". Use const. Use DISALLOW_COPY_AND_ASSIGN. Avoid public
member variables.
Move ValueObject to base and use in ELF builder.
Tidy VectorOutputStream to not use non-const reference arguments.

Change-Id: I2c727c3fc61769c3726de7cfb68b2d6eb4477e53
17 files changed:
compiler/buffered_output_stream.h
compiler/elf_builder.h
compiler/elf_writer_mclinker.cc
compiler/elf_writer_quick.cc
compiler/file_output_stream.h
compiler/optimizing/builder.h
compiler/optimizing/graph_visualizer.h
compiler/optimizing/locations.h
compiler/optimizing/nodes.h
compiler/optimizing/parallel_move_resolver.h
compiler/optimizing/stack_map_stream.h
compiler/output_stream_test.cc
compiler/utils/arena_object.h [moved from compiler/utils/allocation.h with 75% similarity]
compiler/vector_output_stream.cc
compiler/vector_output_stream.h
oatdump/oatdump.cc
runtime/base/value_object.h [new file with mode: 0644]