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

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

Issue 159784: Removed unsafe optimization in RecordWrite. (Closed)
Patch Set: Created 11 years, 4 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
« no previous file with comments | « no previous file | src/ia32/macro-assembler-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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 }; 219 };
220 220
221 221
222 // ----------------------------------------------------------------------------- 222 // -----------------------------------------------------------------------------
223 // Machine instruction Operands 223 // Machine instruction Operands
224 224
225 enum ScaleFactor { 225 enum ScaleFactor {
226 times_1 = 0, 226 times_1 = 0,
227 times_2 = 1, 227 times_2 = 1,
228 times_4 = 2, 228 times_4 = 2,
229 times_8 = 3 229 times_8 = 3,
230 times_pointer_size = times_4,
231 times_half_pointer_size = times_2
230 }; 232 };
231 233
232 234
233 class Operand BASE_EMBEDDED { 235 class Operand BASE_EMBEDDED {
234 public: 236 public:
235 // reg 237 // reg
236 INLINE(explicit Operand(Register reg)); 238 INLINE(explicit Operand(Register reg));
237 239
238 // [disp/r] 240 // [disp/r]
239 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode)); 241 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 private: 862 private:
861 Assembler* assembler_; 863 Assembler* assembler_;
862 #ifdef DEBUG 864 #ifdef DEBUG
863 int space_before_; 865 int space_before_;
864 #endif 866 #endif
865 }; 867 };
866 868
867 } } // namespace v8::internal 869 } } // namespace v8::internal
868 870
869 #endif // V8_IA32_ASSEMBLER_IA32_H_ 871 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698