From 3cd9694919f7a5741eea148405438dccbd36fce6 Mon Sep 17 00:00:00 2001 From: "jacob.bramley@arm.com" Date: Tue, 18 Feb 2014 13:51:24 +0000 Subject: [PATCH] A64: Fix compiler warning in r19444. BUG= R=jochen@chromium.org Review URL: https://codereview.chromium.org/167463004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19447 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/a64/macro-assembler-a64.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc index e6fef6dc6f..14fb2fda63 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(kMaxVeneerCodeSize)); size_check.Unuse(); #endif