| 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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 Register key, | 1130 Register key, |
| 1131 Register r0, | 1131 Register r0, |
| 1132 Register r1, | 1132 Register r1, |
| 1133 Register r2, | 1133 Register r2, |
| 1134 Register result); | 1134 Register result); |
| 1135 | 1135 |
| 1136 | 1136 |
| 1137 // --------------------------------------------------------------------------- | 1137 // --------------------------------------------------------------------------- |
| 1138 // Allocation support | 1138 // Allocation support |
| 1139 | 1139 |
| 1140 // Allocate an object in new space or old space. If the given space | 1140 // Allocate an object in new space or old pointer space. If the given space |
| 1141 // is exhausted control continues at the gc_required label. The allocated | 1141 // is exhausted control continues at the gc_required label. The allocated |
| 1142 // object is returned in result and end of the new object is returned in | 1142 // object is returned in result and end of the new object is returned in |
| 1143 // result_end. The register scratch can be passed as no_reg in which case | 1143 // result_end. The register scratch can be passed as no_reg in which case |
| 1144 // an additional object reference will be added to the reloc info. The | 1144 // an additional object reference will be added to the reloc info. The |
| 1145 // returned pointers in result and result_end have not yet been tagged as | 1145 // returned pointers in result and result_end have not yet been tagged as |
| 1146 // heap objects. If result_contains_top_on_entry is true the content of | 1146 // heap objects. If result_contains_top_on_entry is true the content of |
| 1147 // result is known to be the allocation top on entry (could be result_end | 1147 // result is known to be the allocation top on entry (could be result_end |
| 1148 // from a previous call). If result_contains_top_on_entry is true scratch | 1148 // from a previous call). If result_contains_top_on_entry is true scratch |
| 1149 // should be no_reg as it is never used. | 1149 // should be no_reg as it is never used. |
| 1150 void Allocate(int object_size, | 1150 void Allocate(int object_size, |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 masm->popfq(); \ | 1619 masm->popfq(); \ |
| 1620 } \ | 1620 } \ |
| 1621 masm-> | 1621 masm-> |
| 1622 #else | 1622 #else |
| 1623 #define ACCESS_MASM(masm) masm-> | 1623 #define ACCESS_MASM(masm) masm-> |
| 1624 #endif | 1624 #endif |
| 1625 | 1625 |
| 1626 } } // namespace v8::internal | 1626 } } // namespace v8::internal |
| 1627 | 1627 |
| 1628 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1628 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |