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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 Register key, | 559 Register key, |
560 Register r0, | 560 Register r0, |
561 Register r1, | 561 Register r1, |
562 Register r2, | 562 Register r2, |
563 Register result); | 563 Register result); |
564 | 564 |
565 | 565 |
566 // --------------------------------------------------------------------------- | 566 // --------------------------------------------------------------------------- |
567 // Allocation support | 567 // Allocation support |
568 | 568 |
569 // Allocate an object in new space or old pointer space. If the given space | 569 // Allocate an object in new space or old space. If the given space |
570 // is exhausted control continues at the gc_required label. The allocated | 570 // is exhausted control continues at the gc_required label. The allocated |
571 // object is returned in result and end of the new object is returned in | 571 // object is returned in result and end of the new object is returned in |
572 // result_end. The register scratch can be passed as no_reg in which case | 572 // result_end. The register scratch can be passed as no_reg in which case |
573 // an additional object reference will be added to the reloc info. The | 573 // an additional object reference will be added to the reloc info. The |
574 // returned pointers in result and result_end have not yet been tagged as | 574 // returned pointers in result and result_end have not yet been tagged as |
575 // heap objects. If result_contains_top_on_entry is true the content of | 575 // heap objects. If result_contains_top_on_entry is true the content of |
576 // result is known to be the allocation top on entry (could be result_end | 576 // result is known to be the allocation top on entry (could be result_end |
577 // from a previous call). If result_contains_top_on_entry is true scratch | 577 // from a previous call). If result_contains_top_on_entry is true scratch |
578 // should be no_reg as it is never used. | 578 // should be no_reg as it is never used. |
579 void Allocate(int object_size, | 579 void Allocate(int object_size, |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 } \ | 1051 } \ |
1052 masm-> | 1052 masm-> |
1053 #else | 1053 #else |
1054 #define ACCESS_MASM(masm) masm-> | 1054 #define ACCESS_MASM(masm) masm-> |
1055 #endif | 1055 #endif |
1056 | 1056 |
1057 | 1057 |
1058 } } // namespace v8::internal | 1058 } } // namespace v8::internal |
1059 | 1059 |
1060 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1060 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |