Reviewers: Alexandre Rames, dcarney, jochen,

Description:
A64: Fix compiler warning in r19444.

BUG=

Please review this at https://codereview.chromium.org/167463004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -1 lines):
  M src/a64/macro-assembler-a64.cc


Index: src/a64/macro-assembler-a64.cc
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc
index e6fef6dc6f37bf185ba5c5219ace9a8f02cca72a..14fb2fda63248808d25cdaa947fc4f61a2c6d9b3 100644
--- a/src/a64/macro-assembler-a64.cc
+++ b/src/a64/macro-assembler-a64.cc
@@ -598,7 +598,8 @@ void MacroAssembler::EmitVeneers(bool need_protection) {
         branch->SetImmPCOffsetTarget(veneer);
         b(label);
 #ifdef DEBUG
- ASSERT(SizeOfCodeGeneratedSince(&size_check) <= kMaxVeneerCodeSize);
+        ASSERT(SizeOfCodeGeneratedSince(&size_check) <=
+               static_cast<uint64_t>(kMaxVeneerCodeSize));
         size_check.Unuse();
 #endif



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to