Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: src/arm/assembler-arm.h

Issue 113837: Change the register allocator so that it no longer tracks references... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/jump-target-arm.cc » ('j') | src/ia32/register-allocator-ia32-inl.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 int bit() const { 77 int bit() const {
78 ASSERT(is_valid()); 78 ASSERT(is_valid());
79 return 1 << code_; 79 return 1 << code_;
80 } 80 }
81 81
82 // (unfortunately we can't make this private in a struct) 82 // (unfortunately we can't make this private in a struct)
83 int code_; 83 int code_;
84 }; 84 };
85 85
86 86
87 const int kNumRegisters = 16;
88
89 extern Register no_reg; 87 extern Register no_reg;
90 extern Register r0; 88 extern Register r0;
91 extern Register r1; 89 extern Register r1;
92 extern Register r2; 90 extern Register r2;
93 extern Register r3; 91 extern Register r3;
94 extern Register r4; 92 extern Register r4;
95 extern Register r5; 93 extern Register r5;
96 extern Register r6; 94 extern Register r6;
97 extern Register r7; 95 extern Register r7;
98 extern Register r8; 96 extern Register r8;
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 void link_to(Label* L, Label* appendix); 779 void link_to(Label* L, Label* appendix);
782 void next(Label* L); 780 void next(Label* L);
783 781
784 // Record reloc info for current pc_ 782 // Record reloc info for current pc_
785 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); 783 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
786 }; 784 };
787 785
788 } } // namespace v8::internal 786 } } // namespace v8::internal
789 787
790 #endif // V8_ARM_ASSEMBLER_ARM_H_ 788 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/jump-target-arm.cc » ('j') | src/ia32/register-allocator-ia32-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698