OSDN Git Service

C++11 related clean-up of DISALLOW_..
authorIan Rogers <irogers@google.com>
Thu, 23 Oct 2014 05:06:39 +0000 (22:06 -0700)
committerIan Rogers <irogers@google.com>
Thu, 23 Oct 2014 05:21:57 +0000 (22:21 -0700)
commitcf7f19135f0e273f7b0136315633c2abfc715343
treeffa4d9efd9c45f4b6789acc1f534bb9327052b7e
parentaea6888b056be21adf762e066c7f33b8939b8a06
C++11 related clean-up of DISALLOW_..

Move DISALLOW_COPY_AND_ASSIGN to delete functions. By no having declarations
with no definitions this prompts better warning messages so deal with these
by correcting the code.
Add a DISALLOW_ALLOCATION and use for ValueObject and mirror::Object.
Make X86 assembly operand types ValueObjects to fix compilation errors.
Tidy the use of iostream and ostream.
Avoid making cutils a dependency via mutex-inl.h for tests that link against
libart. Push tracing dependencies into appropriate files and mutex.cc.
x86 32-bit host symbols size is increased for libarttest, avoid copying this
in run-test 115 by using symlinks and remove this test's higher than normal
ulimit.
Fix the RunningOnValgrind test in RosAllocSpace to not use GetHeap as it
returns NULL when the heap is under construction by Runtime.

Change-Id: Ia246f7ac0c11f73072b30d70566a196e9b78472b
48 files changed:
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
compiler/optimizing/graph_visualizer.h
compiler/optimizing/nodes.h
compiler/optimizing/ssa_liveness_analysis.h
compiler/utils/assembler_test.h
compiler/utils/x86/assembler_x86.h
compiler/utils/x86_64/assembler_x86_64.h
compiler/utils/x86_64/assembler_x86_64_test.cc
dex2oat/dex2oat.cc
disassembler/disassembler.cc
disassembler/disassembler_arm.cc
disassembler/disassembler_arm64.cc
disassembler/disassembler_mips.cc
disassembler/disassembler_x86.cc
runtime/arch/stub_test.cc
runtime/base/logging.h
runtime/base/macros.h
runtime/base/mutex-inl.h
runtime/base/mutex.cc
runtime/base/mutex.h
runtime/base/stringpiece.cc
runtime/base/value_object.h
runtime/check_reference_map_visitor.h
runtime/class_linker.cc
runtime/debugger.cc
runtime/dex_instruction_visitor_test.cc
runtime/dex_method_iterator_test.cc
runtime/gc/allocator/rosalloc.cc
runtime/gc/collector/garbage_collector.cc
runtime/gc/collector/mark_sweep.cc
runtime/gc/heap.h
runtime/gc/space/malloc_space.h
runtime/gc/space/rosalloc_space.cc
runtime/indirect_reference_table.cc
runtime/interpreter/interpreter_common.h
runtime/mirror/object.h
runtime/offsets.cc
runtime/offsets.h
runtime/profiler.cc
runtime/quick_exception_handler.cc
runtime/signal_catcher.cc
runtime/trace.cc
sigchainlib/sigchain_dummy.cc
test/115-native-bridge/run
test/Android.libarttest.mk
test/Android.libnativebridgetest.mk
test/run-test