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

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

Issue 2725003: Add parenthesis around '&&' within '||'... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | « src/arm/assembler-arm-inl.h ('k') | src/x64/assembler-x64-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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void RelocInfo::Visit(ObjectVisitor* visitor) { 167 void RelocInfo::Visit(ObjectVisitor* visitor) {
168 RelocInfo::Mode mode = rmode(); 168 RelocInfo::Mode mode = rmode();
169 if (mode == RelocInfo::EMBEDDED_OBJECT) { 169 if (mode == RelocInfo::EMBEDDED_OBJECT) {
170 visitor->VisitPointer(target_object_address()); 170 visitor->VisitPointer(target_object_address());
171 } else if (RelocInfo::IsCodeTarget(mode)) { 171 } else if (RelocInfo::IsCodeTarget(mode)) {
172 visitor->VisitCodeTarget(this); 172 visitor->VisitCodeTarget(this);
173 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) { 173 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
174 visitor->VisitExternalReference(target_reference_address()); 174 visitor->VisitExternalReference(target_reference_address());
175 #ifdef ENABLE_DEBUGGER_SUPPORT 175 #ifdef ENABLE_DEBUGGER_SUPPORT
176 } else if (Debug::has_break_points() && 176 } else if (Debug::has_break_points() &&
177 (RelocInfo::IsJSReturn(mode) && 177 ((RelocInfo::IsJSReturn(mode) &&
178 IsPatchedReturnSequence()) || 178 IsPatchedReturnSequence()) ||
179 (RelocInfo::IsDebugBreakSlot(mode) && 179 (RelocInfo::IsDebugBreakSlot(mode) &&
180 IsPatchedDebugBreakSlotSequence())) { 180 IsPatchedDebugBreakSlotSequence()))) {
181 visitor->VisitDebugTarget(this); 181 visitor->VisitDebugTarget(this);
182 #endif 182 #endif
183 } else if (mode == RelocInfo::RUNTIME_ENTRY) { 183 } else if (mode == RelocInfo::RUNTIME_ENTRY) {
184 visitor->VisitRuntimeEntry(this); 184 visitor->VisitRuntimeEntry(this);
185 } 185 }
186 } 186 }
187 187
188 188
189 Immediate::Immediate(int x) { 189 Immediate::Immediate(int x) {
190 x_ = x; 190 x_ = x;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { 356 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) {
357 // [disp/r] 357 // [disp/r]
358 set_modrm(0, ebp); 358 set_modrm(0, ebp);
359 set_dispr(disp, rmode); 359 set_dispr(disp, rmode);
360 } 360 }
361 361
362 } } // namespace v8::internal 362 } } // namespace v8::internal
363 363
364 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_ 364 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm-inl.h ('k') | src/x64/assembler-x64-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698