| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 Register key, | 594 Register key, |
| 595 Register r0, | 595 Register r0, |
| 596 Register r1, | 596 Register r1, |
| 597 Register r2, | 597 Register r2, |
| 598 Register result); | 598 Register result); |
| 599 | 599 |
| 600 | 600 |
| 601 // --------------------------------------------------------------------------- | 601 // --------------------------------------------------------------------------- |
| 602 // Allocation support | 602 // Allocation support |
| 603 | 603 |
| 604 // Allocate an object in new space or old pointer space. If the given space | 604 // Allocate an object in new space or old space. If the given space |
| 605 // is exhausted control continues at the gc_required label. The allocated | 605 // is exhausted control continues at the gc_required label. The allocated |
| 606 // object is returned in result and end of the new object is returned in | 606 // object is returned in result and end of the new object is returned in |
| 607 // result_end. The register scratch can be passed as no_reg in which case | 607 // result_end. The register scratch can be passed as no_reg in which case |
| 608 // an additional object reference will be added to the reloc info. The | 608 // an additional object reference will be added to the reloc info. The |
| 609 // returned pointers in result and result_end have not yet been tagged as | 609 // returned pointers in result and result_end have not yet been tagged as |
| 610 // heap objects. If result_contains_top_on_entry is true the content of | 610 // heap objects. If result_contains_top_on_entry is true the content of |
| 611 // result is known to be the allocation top on entry (could be result_end | 611 // result is known to be the allocation top on entry (could be result_end |
| 612 // from a previous call). If result_contains_top_on_entry is true scratch | 612 // from a previous call). If result_contains_top_on_entry is true scratch |
| 613 // should be no_reg as it is never used. | 613 // should be no_reg as it is never used. |
| 614 void Allocate(int object_size, | 614 void Allocate(int object_size, |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 } \ | 1097 } \ |
| 1098 masm-> | 1098 masm-> |
| 1099 #else | 1099 #else |
| 1100 #define ACCESS_MASM(masm) masm-> | 1100 #define ACCESS_MASM(masm) masm-> |
| 1101 #endif | 1101 #endif |
| 1102 | 1102 |
| 1103 | 1103 |
| 1104 } } // namespace v8::internal | 1104 } } // namespace v8::internal |
| 1105 | 1105 |
| 1106 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1106 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |