| OLD | NEW |
| 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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 va_list arguments; | 573 va_list arguments; |
| 574 va_start(arguments, format); | 574 va_start(arguments, format); |
| 575 OS::VPrint(format, arguments); | 575 OS::VPrint(format, arguments); |
| 576 va_end(arguments); | 576 va_end(arguments); |
| 577 PrintF("\n"); | 577 PrintF("\n"); |
| 578 } | 578 } |
| 579 status_ = ABORTED; | 579 status_ = ABORTED; |
| 580 } | 580 } |
| 581 | 581 |
| 582 | 582 |
| 583 LRegister* LChunkBuilder::ToOperand(Register reg) { | |
| 584 return LRegister::Create(Register::ToAllocationIndex(reg)); | |
| 585 } | |
| 586 | |
| 587 | |
| 588 LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { | 583 LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { |
| 589 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, | 584 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, |
| 590 Register::ToAllocationIndex(reg)); | 585 Register::ToAllocationIndex(reg)); |
| 591 } | 586 } |
| 592 | 587 |
| 593 | 588 |
| 594 LUnallocated* LChunkBuilder::ToUnallocated(XMMRegister reg) { | 589 LUnallocated* LChunkBuilder::ToUnallocated(XMMRegister reg) { |
| 595 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, | 590 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, |
| 596 XMMRegister::ToAllocationIndex(reg)); | 591 XMMRegister::ToAllocationIndex(reg)); |
| 597 } | 592 } |
| (...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2407 LOperand* key = UseOrConstantAtStart(instr->key()); | 2402 LOperand* key = UseOrConstantAtStart(instr->key()); |
| 2408 LOperand* object = UseOrConstantAtStart(instr->object()); | 2403 LOperand* object = UseOrConstantAtStart(instr->object()); |
| 2409 LIn* result = new(zone()) LIn(context, key, object); | 2404 LIn* result = new(zone()) LIn(context, key, object); |
| 2410 return MarkAsCall(DefineFixed(result, eax), instr); | 2405 return MarkAsCall(DefineFixed(result, eax), instr); |
| 2411 } | 2406 } |
| 2412 | 2407 |
| 2413 | 2408 |
| 2414 } } // namespace v8::internal | 2409 } } // namespace v8::internal |
| 2415 | 2410 |
| 2416 #endif // V8_TARGET_ARCH_IA32 | 2411 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |