Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: src/arm/lithium-gap-resolver-arm.cc

Issue 10701054: Enable stub generation using Hydrogen/Lithium (again) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: First pass at pre-VFP2 RA Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 __ mov(kSavedValueRegister, 260 __ mov(kSavedValueRegister,
261 Operand(cgen_->ToInteger32(constant_source))); 261 Operand(cgen_->ToInteger32(constant_source)));
262 } else { 262 } else {
263 __ LoadObject(kSavedValueRegister, 263 __ LoadObject(kSavedValueRegister,
264 cgen_->ToHandle(constant_source)); 264 cgen_->ToHandle(constant_source));
265 } 265 }
266 __ str(kSavedValueRegister, cgen_->ToMemOperand(destination)); 266 __ str(kSavedValueRegister, cgen_->ToMemOperand(destination));
267 } 267 }
268 268
269 } else if (source->IsDoubleRegister()) { 269 } else if (source->IsDoubleRegister()) {
270 DoubleRegister source_register = cgen_->ToDoubleRegister(source); 270 DwVfpRegister source_register = cgen_->ToDoubleRegister(source);
271 if (destination->IsDoubleRegister()) { 271 if (destination->IsDoubleRegister()) {
272 __ vmov(cgen_->ToDoubleRegister(destination), source_register); 272 __ vmov(cgen_->ToDoubleRegister(destination), source_register);
273 } else { 273 } else {
274 ASSERT(destination->IsDoubleStackSlot()); 274 ASSERT(destination->IsDoubleStackSlot());
275 __ vstr(source_register, cgen_->ToMemOperand(destination)); 275 __ vstr(source_register, cgen_->ToMemOperand(destination));
276 } 276 }
277 277
278 } else if (source->IsDoubleStackSlot()) { 278 } else if (source->IsDoubleStackSlot()) {
279 MemOperand source_operand = cgen_->ToMemOperand(source); 279 MemOperand source_operand = cgen_->ToMemOperand(source);
280 if (destination->IsDoubleRegister()) { 280 if (destination->IsDoubleRegister()) {
(...skipping 21 matching lines...) Expand all
302 UNREACHABLE(); 302 UNREACHABLE();
303 } 303 }
304 304
305 moves_[index].Eliminate(); 305 moves_[index].Eliminate();
306 } 306 }
307 307
308 308
309 #undef __ 309 #undef __
310 310
311 } } // namespace v8::internal 311 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698