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

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

Issue 146029: x64 code generation for construct calls, declaring global variables... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | « no previous file | src/x64/assembler-x64.cc » ('j') | src/x64/builtins-x64.cc » ('J')
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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 int32_t value_; 271 int32_t value_;
272 272
273 friend class Assembler; 273 friend class Assembler;
274 }; 274 };
275 275
276 276
277 // ----------------------------------------------------------------------------- 277 // -----------------------------------------------------------------------------
278 // Machine instruction Operands 278 // Machine instruction Operands
279 279
280 enum ScaleFactor { 280 enum ScaleFactor {
281 kTimes1 = 0, 281 times_1 = 0,
282 kTimes2 = 1, 282 times_2 = 1,
283 kTimes4 = 2, 283 times_4 = 2,
284 kTimes8 = 3, 284 times_8 = 3,
285 kTimesIntSize = kTimes4, 285 times_int_size = times_4,
286 kTimesPointerSize = kTimes8 286 times_pointer_size = times_8
287 }; 287 };
288 288
289 289
290 class Operand BASE_EMBEDDED { 290 class Operand BASE_EMBEDDED {
291 public: 291 public:
292 // [base + disp/r] 292 // [base + disp/r]
293 Operand(Register base, int32_t disp); 293 Operand(Register base, int32_t disp);
294 294
295 // [base + index*scale + disp/r] 295 // [base + index*scale + disp/r]
296 Operand(Register base, 296 Operand(Register base,
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 private: 1107 private:
1108 Assembler* assembler_; 1108 Assembler* assembler_;
1109 #ifdef DEBUG 1109 #ifdef DEBUG
1110 int space_before_; 1110 int space_before_;
1111 #endif 1111 #endif
1112 }; 1112 };
1113 1113
1114 } } // namespace v8::internal 1114 } } // namespace v8::internal
1115 1115
1116 #endif // V8_X64_ASSEMBLER_X64_H_ 1116 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | src/x64/builtins-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698