From: verwaest@chromium.org Date: Wed, 29 May 2013 12:20:32 +0000 (+0000) Subject: Update ASSERT on arm to support SmiOrTagged in ClampToUint8 X-Git-Tag: upstream/4.7.83~14064 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e21ff6768d63e00b2c95fa0d66935a394637ec3;p=platform%2Fupstream%2Fv8.git Update ASSERT on arm to support SmiOrTagged in ClampToUint8 R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/15832004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14881 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc index aa4561e..30f9bb7 100644 --- a/src/arm/lithium-arm.cc +++ b/src/arm/lithium-arm.cc @@ -2035,7 +2035,7 @@ LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { } else if (input_rep.IsInteger32()) { return DefineAsRegister(new(zone()) LClampIToUint8(reg)); } else { - ASSERT(input_rep.IsTagged()); + ASSERT(input_rep.IsSmiOrTagged()); // Register allocator doesn't (yet) support allocation of double // temps. Reserve d1 explicitly. LClampTToUint8* result = new(zone()) LClampTToUint8(reg, FixedTemp(d11));