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

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

Issue 11744020: Rename RelocInfo::NONE to RelocInfo::NONE32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/ia32/deoptimizer-ia32.cc ('k') | src/ic.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 static double kUint32Bias = 163 static double kUint32Bias =
164 static_cast<double>(static_cast<uint32_t>(0xFFFFFFFF)) + 1; 164 static_cast<double>(static_cast<uint32_t>(0xFFFFFFFF)) + 1;
165 165
166 166
167 void MacroAssembler::LoadUint32(XMMRegister dst, 167 void MacroAssembler::LoadUint32(XMMRegister dst,
168 Register src, 168 Register src,
169 XMMRegister scratch) { 169 XMMRegister scratch) {
170 Label done; 170 Label done;
171 cmp(src, Immediate(0)); 171 cmp(src, Immediate(0));
172 movdbl(scratch, 172 movdbl(scratch,
173 Operand(reinterpret_cast<int32_t>(&kUint32Bias), RelocInfo::NONE)); 173 Operand(reinterpret_cast<int32_t>(&kUint32Bias), RelocInfo::NONE32));
174 cvtsi2sd(dst, src); 174 cvtsi2sd(dst, src);
175 j(not_sign, &done, Label::kNear); 175 j(not_sign, &done, Label::kNear);
176 addsd(dst, scratch); 176 addsd(dst, scratch);
177 bind(&done); 177 bind(&done);
178 } 178 }
179 179
180 180
181 void MacroAssembler::RecordWriteArray(Register object, 181 void MacroAssembler::RecordWriteArray(Register object,
182 Register value, 182 Register value,
183 Register index, 183 Register index,
(...skipping 2863 matching lines...) Expand 10 before | Expand all | Expand 10 after
3047 j(not_equal, call_runtime); 3047 j(not_equal, call_runtime);
3048 3048
3049 mov(ecx, FieldOperand(ebx, Map::kPrototypeOffset)); 3049 mov(ecx, FieldOperand(ebx, Map::kPrototypeOffset));
3050 cmp(ecx, isolate()->factory()->null_value()); 3050 cmp(ecx, isolate()->factory()->null_value());
3051 j(not_equal, &next); 3051 j(not_equal, &next);
3052 } 3052 }
3053 3053
3054 } } // namespace v8::internal 3054 } } // namespace v8::internal
3055 3055
3056 #endif // V8_TARGET_ARCH_IA32 3056 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698