MIPS: Update ASSERT on arm to support SmiOrTagged in ClampToUint8
Port r14881 (0b784159) BUG= Review URL: https://codereview.chromium.org/15769005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14891 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ec32721a0a
commit
d16aa0bc6d
@ -1909,7 +1909,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 f22 explicitly.
|
||||
LClampTToUint8* result = new(zone()) LClampTToUint8(reg, FixedTemp(f22));
|
||||
|
Loading…
Reference in New Issue
Block a user