Chromium Code Reviews

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 1012023002: Merge old data and pointer space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
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...)
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 479 matching lines...)
1094 } \ 1094 } \
1095 masm-> 1095 masm->
1096 #else 1096 #else
1097 #define ACCESS_MASM(masm) masm-> 1097 #define ACCESS_MASM(masm) masm->
1098 #endif 1098 #endif
1099 1099
1100 1100
1101 } } // namespace v8::internal 1101 } } // namespace v8::internal
1102 1102
1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine