diff options
author | 2014-12-04 11:20:20 -0800 | |
---|---|---|
committer | 2015-01-21 17:33:12 +0000 | |
commit | 0ada95d8de4b04b5f201b4b7e9c3c2fd2cc321ae (patch) | |
tree | 97231800ac31c9ae1ce6351ca94d1d35dfc8caf8 /compiler/optimizing/code_generator.cc | |
parent | 03c45ccf104fade857cb01a2b760b08fad5e304a (diff) |
ART: Replace NULL to nullptr in the optimizing compiler
Replace macro NULL to the nullptr variation for C++.
Change-Id: Ib6e48dd4bb3c254343383011b67372622578ca76
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r-- | compiler/optimizing/code_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 6f424ce11d..5f7a121af7 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -369,7 +369,7 @@ void CodeGenerator::BuildNativeGCMap( uint32_t native_offset = pc_info.native_pc; uint32_t dex_pc = pc_info.dex_pc; const uint8_t* references = dex_gc_map.FindBitMap(dex_pc, false); - CHECK(references != NULL) << "Missing ref for dex pc 0x" << std::hex << dex_pc; + CHECK(references != nullptr) << "Missing ref for dex pc 0x" << std::hex << dex_pc; builder.AddEntry(native_offset, references); } } |