summaryrefslogtreecommitdiff
path: root/compiler/dex/inline_method_analyser.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-05-22 20:54:14 +0000
committer Andreas Gampe <agampe@google.com> 2018-05-22 20:54:14 +0000
commit8b362a87d52a6668ffd2283ef6ffc274315f41c8 (patch)
tree14b187cd0b4afde501b9cc7a9dc82c997362e888 /compiler/dex/inline_method_analyser.cc
parent8268cb677bd92bfbcfec7e803775c29687494e53 (diff)
Revert "Remove support for Valgrind in ART."
This reverts commit 8268cb677bd92bfbcfec7e803775c29687494e53. Reason for revert: ASAN failures Change-Id: I7e66d3f3fb461ae4f6dea6ec7d506b7dface3402 Test: SANITIZE_HOST=address m test-art-host Bug: 77856586 Bug: 29282211
Diffstat (limited to 'compiler/dex/inline_method_analyser.cc')
-rw-r--r--compiler/dex/inline_method_analyser.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/dex/inline_method_analyser.cc b/compiler/dex/inline_method_analyser.cc
index fe8b766d0f..dc044c1210 100644
--- a/compiler/dex/inline_method_analyser.cc
+++ b/compiler/dex/inline_method_analyser.cc
@@ -724,8 +724,7 @@ bool InlineMethodAnalyser::ComputeSpecialAccessorInfo(ArtMethod* method,
return false;
}
DCHECK_GE(field->GetOffset().Int32Value(), 0);
- // Historical note: We made sure not to interleave function calls with bit field writes to
- // placate Valgrind. Bug: 27552451.
+ // Do not interleave function calls with bit field writes to placate valgrind. Bug: 27552451.
uint32_t field_offset = field->GetOffset().Uint32Value();
bool is_volatile = field->IsVolatile();
result->field_idx = field_idx;