| Index: third_party/android_crazy_linker/src/src/crazy_linker_leb128.h
|
| diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h b/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h
|
| index 787566e66433b9cb7c10b723b96ffccd80d6c1f3..08bea66ee33c20fcb906c72ffcf954202179a6a5 100644
|
| --- a/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h
|
| +++ b/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h
|
| @@ -15,8 +15,11 @@ namespace crazy {
|
|
|
| class Sleb128Decoder {
|
| public:
|
| - Sleb128Decoder(const uint8_t* buffer, size_t count)
|
| - : current_(buffer), end_(buffer + count) { }
|
| + Sleb128Decoder(const uint8_t* buffer, size_t count) : current_(buffer)
|
| +#ifndef NDEBUG
|
| + , end_(buffer + count)
|
| +#endif
|
| + {}
|
|
|
| size_t pop_front() {
|
| size_t value = 0;
|
| @@ -42,7 +45,9 @@ class Sleb128Decoder {
|
|
|
| private:
|
| const uint8_t* current_;
|
| +#ifndef NDEBUG
|
| const uint8_t* const end_;
|
| +#endif
|
| };
|
|
|
| } // namespace crazy
|
|
|