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

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

Issue 596084: Fix array allocation in generated code on x64... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 10 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/builtins-x64.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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 301
302 // ----------------------------------------------------------------------------- 302 // -----------------------------------------------------------------------------
303 // Machine instruction Operands 303 // Machine instruction Operands
304 304
305 enum ScaleFactor { 305 enum ScaleFactor {
306 times_1 = 0, 306 times_1 = 0,
307 times_2 = 1, 307 times_2 = 1,
308 times_4 = 2, 308 times_4 = 2,
309 times_8 = 3, 309 times_8 = 3,
310 times_int_size = times_4, 310 times_int_size = times_4,
311 times_half_pointer_size = times_4,
312 times_pointer_size = times_8 311 times_pointer_size = times_8
313 }; 312 };
314 313
315 314
316 class Operand BASE_EMBEDDED { 315 class Operand BASE_EMBEDDED {
317 public: 316 public:
318 // [base + disp/r] 317 // [base + disp/r]
319 Operand(Register base, int32_t disp); 318 Operand(Register base, int32_t disp);
320 319
321 // [base + index*scale + disp/r] 320 // [base + index*scale + disp/r]
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 private: 1401 private:
1403 Assembler* assembler_; 1402 Assembler* assembler_;
1404 #ifdef DEBUG 1403 #ifdef DEBUG
1405 int space_before_; 1404 int space_before_;
1406 #endif 1405 #endif
1407 }; 1406 };
1408 1407
1409 } } // namespace v8::internal 1408 } } // namespace v8::internal
1410 1409
1411 #endif // V8_X64_ASSEMBLER_X64_H_ 1410 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698