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

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

Issue 2136012: Remove unused relocation mode. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/assembler-ia32-inl.h » ('j') | no next file with comments »
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 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 : ((hint == not_taken) ? taken : not_taken); 187 : ((hint == not_taken) ? taken : not_taken);
188 } 188 }
189 189
190 190
191 // ----------------------------------------------------------------------------- 191 // -----------------------------------------------------------------------------
192 // Machine instruction Immediates 192 // Machine instruction Immediates
193 193
194 class Immediate BASE_EMBEDDED { 194 class Immediate BASE_EMBEDDED {
195 public: 195 public:
196 inline explicit Immediate(int x); 196 inline explicit Immediate(int x);
197 inline explicit Immediate(const char* s);
198 inline explicit Immediate(const ExternalReference& ext); 197 inline explicit Immediate(const ExternalReference& ext);
199 inline explicit Immediate(Handle<Object> handle); 198 inline explicit Immediate(Handle<Object> handle);
200 inline explicit Immediate(Smi* value); 199 inline explicit Immediate(Smi* value);
201 200
202 static Immediate CodeRelativeOffset(Label* label) { 201 static Immediate CodeRelativeOffset(Label* label) {
203 return Immediate(label); 202 return Immediate(label);
204 } 203 }
205 204
206 bool is_zero() const { return x_ == 0 && rmode_ == RelocInfo::NONE; } 205 bool is_zero() const { return x_ == 0 && rmode_ == RelocInfo::NONE; }
207 bool is_int8() const { 206 bool is_int8() const {
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 private: 932 private:
934 Assembler* assembler_; 933 Assembler* assembler_;
935 #ifdef DEBUG 934 #ifdef DEBUG
936 int space_before_; 935 int space_before_;
937 #endif 936 #endif
938 }; 937 };
939 938
940 } } // namespace v8::internal 939 } } // namespace v8::internal
941 940
942 #endif // V8_IA32_ASSEMBLER_IA32_H_ 941 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/assembler-ia32-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698