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

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

Issue 113333: Fix asterisk spacing. (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
« no previous file with comments | « src/flags.cc ('k') | src/ia32/virtual-frame-ia32.cc » ('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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 x_ = reinterpret_cast<int32_t>(ext.address()); 151 x_ = reinterpret_cast<int32_t>(ext.address());
152 rmode_ = RelocInfo::EXTERNAL_REFERENCE; 152 rmode_ = RelocInfo::EXTERNAL_REFERENCE;
153 } 153 }
154 154
155 Immediate::Immediate(const char* s) { 155 Immediate::Immediate(const char* s) {
156 x_ = reinterpret_cast<int32_t>(s); 156 x_ = reinterpret_cast<int32_t>(s);
157 rmode_ = RelocInfo::EMBEDDED_STRING; 157 rmode_ = RelocInfo::EMBEDDED_STRING;
158 } 158 }
159 159
160 160
161 Immediate::Immediate(Label *internal_offset) { 161 Immediate::Immediate(Label* internal_offset) {
162 x_ = reinterpret_cast<int32_t>(internal_offset); 162 x_ = reinterpret_cast<int32_t>(internal_offset);
163 rmode_ = RelocInfo::INTERNAL_REFERENCE; 163 rmode_ = RelocInfo::INTERNAL_REFERENCE;
164 } 164 }
165 165
166 166
167 Immediate::Immediate(Handle<Object> handle) { 167 Immediate::Immediate(Handle<Object> handle) {
168 // Verify all Objects referred by code are NOT in new space. 168 // Verify all Objects referred by code are NOT in new space.
169 Object* obj = *handle; 169 Object* obj = *handle;
170 ASSERT(!Heap::InNewSpace(obj)); 170 ASSERT(!Heap::InNewSpace(obj));
171 if (obj->IsHeapObject()) { 171 if (obj->IsHeapObject()) {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 293
294 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { 294 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) {
295 // [disp/r] 295 // [disp/r]
296 set_modrm(0, ebp); 296 set_modrm(0, ebp);
297 set_dispr(disp, rmode); 297 set_dispr(disp, rmode);
298 } 298 }
299 299
300 } } // namespace v8::internal 300 } } // namespace v8::internal
301 301
302 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_ 302 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_
OLDNEW
« no previous file with comments | « src/flags.cc ('k') | src/ia32/virtual-frame-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698