ARM/MIPS: Fix Constant-to-DoubleRegister moves in LGapResolver
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/22314010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16081 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
e7585af65b
commit
25ffcc3407
@ -254,7 +254,7 @@ void LGapResolver::EmitMove(int index) {
|
||||
} else {
|
||||
__ LoadObject(dst, cgen_->ToHandle(constant_source));
|
||||
}
|
||||
} else if (source->IsDoubleRegister()) {
|
||||
} else if (destination->IsDoubleRegister()) {
|
||||
DwVfpRegister result = cgen_->ToDoubleRegister(destination);
|
||||
double v = cgen_->ToDouble(constant_source);
|
||||
__ Vmov(result, v, ip);
|
||||
|
@ -258,7 +258,7 @@ void LGapResolver::EmitMove(int index) {
|
||||
} else {
|
||||
__ LoadObject(dst, cgen_->ToHandle(constant_source));
|
||||
}
|
||||
} else if (source->IsDoubleRegister()) {
|
||||
} else if (destination->IsDoubleRegister()) {
|
||||
DoubleRegister result = cgen_->ToDoubleRegister(destination);
|
||||
double v = cgen_->ToDouble(constant_source);
|
||||
__ Move(result, v);
|
||||
|
Loading…
Reference in New Issue
Block a user