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

Side by Side Diff: src/ia32/assembler-ia32.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, 7 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
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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 int bit() const { 73 int bit() const {
74 ASSERT(is_valid()); 74 ASSERT(is_valid());
75 return 1 << code_; 75 return 1 << code_;
76 } 76 }
77 77
78 // (unfortunately we can't make this private in a struct) 78 // (unfortunately we can't make this private in a struct)
79 int code_; 79 int code_;
80 }; 80 };
81 81
82 const int kNumRegisters = 8;
83
84 extern Register eax; 82 extern Register eax;
85 extern Register ecx; 83 extern Register ecx;
86 extern Register edx; 84 extern Register edx;
87 extern Register ebx; 85 extern Register ebx;
88 extern Register esp; 86 extern Register esp;
89 extern Register ebp; 87 extern Register ebp;
90 extern Register esi; 88 extern Register esi;
91 extern Register edi; 89 extern Register edi;
92 extern Register no_reg; 90 extern Register no_reg;
93 91
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 private: 855 private:
858 Assembler* assembler_; 856 Assembler* assembler_;
859 #ifdef DEBUG 857 #ifdef DEBUG
860 int space_before_; 858 int space_before_;
861 #endif 859 #endif
862 }; 860 };
863 861
864 } } // namespace v8::internal 862 } } // namespace v8::internal
865 863
866 #endif // V8_IA32_ASSEMBLER_IA32_H_ 864 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/codegen-ia32.h » ('j') | src/ia32/register-allocator-ia32-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698