| OLD | NEW | 
|---|
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 
| 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 
| 7 | 7 | 
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" | 
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" | 
| 10 #include "src/frames.h" | 10 #include "src/frames.h" | 
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 611   // label. The allocated object is returned in result. If the flag | 611   // label. The allocated object is returned in result. If the flag | 
| 612   // tag_allocated_object is true the result is tagged as as a heap object. | 612   // tag_allocated_object is true the result is tagged as as a heap object. | 
| 613   // All registers are clobbered also when control continues at the gc_required | 613   // All registers are clobbered also when control continues at the gc_required | 
| 614   // label. | 614   // label. | 
| 615   void Allocate(int object_size, Register result, Register scratch1, | 615   void Allocate(int object_size, Register result, Register scratch1, | 
| 616                 Register scratch2, Label* gc_required, AllocationFlags flags); | 616                 Register scratch2, Label* gc_required, AllocationFlags flags); | 
| 617 | 617 | 
| 618   void Allocate(Register object_size, Register result, Register scratch1, | 618   void Allocate(Register object_size, Register result, Register scratch1, | 
| 619                 Register scratch2, Label* gc_required, AllocationFlags flags); | 619                 Register scratch2, Label* gc_required, AllocationFlags flags); | 
| 620 | 620 | 
| 621   // Undo allocation in new space. The object passed and objects allocated after |  | 
| 622   // it will no longer be allocated. The caller must make sure that no pointers |  | 
| 623   // are left to the object(s) no longer allocated as they would be invalid when |  | 
| 624   // allocation is undone. |  | 
| 625   void UndoAllocationInNewSpace(Register object, Register scratch); |  | 
| 626 |  | 
| 627 |  | 
| 628   void AllocateTwoByteString(Register result, Register length, | 621   void AllocateTwoByteString(Register result, Register length, | 
| 629                              Register scratch1, Register scratch2, | 622                              Register scratch1, Register scratch2, | 
| 630                              Register scratch3, Label* gc_required); | 623                              Register scratch3, Label* gc_required); | 
| 631   void AllocateOneByteString(Register result, Register length, | 624   void AllocateOneByteString(Register result, Register length, | 
| 632                              Register scratch1, Register scratch2, | 625                              Register scratch1, Register scratch2, | 
| 633                              Register scratch3, Label* gc_required); | 626                              Register scratch3, Label* gc_required); | 
| 634   void AllocateTwoByteConsString(Register result, Register length, | 627   void AllocateTwoByteConsString(Register result, Register length, | 
| 635                                  Register scratch1, Register scratch2, | 628                                  Register scratch1, Register scratch2, | 
| 636                                  Label* gc_required); | 629                                  Label* gc_required); | 
| 637   void AllocateOneByteConsString(Register result, Register length, | 630   void AllocateOneByteConsString(Register result, Register length, | 
| (...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1573 #define ACCESS_MASM(masm)    \ | 1566 #define ACCESS_MASM(masm)    \ | 
| 1574   masm->stop(__FILE_LINE__); \ | 1567   masm->stop(__FILE_LINE__); \ | 
| 1575   masm-> | 1568   masm-> | 
| 1576 #else | 1569 #else | 
| 1577 #define ACCESS_MASM(masm) masm-> | 1570 #define ACCESS_MASM(masm) masm-> | 
| 1578 #endif | 1571 #endif | 
| 1579 } | 1572 } | 
| 1580 }  // namespace v8::internal | 1573 }  // namespace v8::internal | 
| 1581 | 1574 | 
| 1582 #endif  // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1575 #endif  // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 
| OLD | NEW | 
|---|