diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-10-23 18:32:13 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-10-23 18:32:13 +0100 |
commit | 8d6ae524ed5d2fed1f9e789d6de9764d374afa43 (patch) | |
tree | 3283f899900f19ecca8540b680755f44d5d70d1c /compiler/optimizing/builder.h | |
parent | 46fdec13b6dcaf932aa9fb1338f32df01aa0d959 (diff) | |
download | android_art-8d6ae524ed5d2fed1f9e789d6de9764d374afa43.tar.gz android_art-8d6ae524ed5d2fed1f9e789d6de9764d374afa43.tar.bz2 android_art-8d6ae524ed5d2fed1f9e789d6de9764d374afa43.zip |
Fix wrong unsigned to signed conversions.
The HIntConstant node takes an int32_t, so we have to keep things signed.
Change-Id: Ib3fa50e87f99118d320cbb381f619d5be9287530
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index c5e02db88c..b55ef0764a 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -154,7 +154,7 @@ class HGraphBuilder : public ValueObject { // Fills the given object with data as specified in the fill-array-data // instruction. The data must be for long and double arrays. void BuildFillWideArrayData(HInstruction* object, - const uint64_t* data, + const int64_t* data, uint32_t element_count, uint32_t dex_offset); |