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

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

Issue 523052: More cleanup of slot handling in the nonoptimizing code generator.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/x64/fast-codegen-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 20 matching lines...) Expand all
31 #include "assembler.h" 31 #include "assembler.h"
32 32
33 namespace v8 { 33 namespace v8 {
34 namespace internal { 34 namespace internal {
35 35
36 // Default scratch register used by MacroAssembler (and other code that needs 36 // Default scratch register used by MacroAssembler (and other code that needs
37 // a spare register). The register isn't callee save, and not used by the 37 // a spare register). The register isn't callee save, and not used by the
38 // function calling convention. 38 // function calling convention.
39 static const Register kScratchRegister = r10; 39 static const Register kScratchRegister = r10;
40 40
41 // Convenience for platform-independent signatures.
42 typedef Operand MemOperand;
43
41 // Forward declaration. 44 // Forward declaration.
42 class JumpTarget; 45 class JumpTarget;
43 46
44 struct SmiIndex { 47 struct SmiIndex {
45 SmiIndex(Register index_register, ScaleFactor scale) 48 SmiIndex(Register index_register, ScaleFactor scale)
46 : reg(index_register), 49 : reg(index_register),
47 scale(scale) {} 50 scale(scale) {}
48 Register reg; 51 Register reg;
49 ScaleFactor scale; 52 ScaleFactor scale;
50 }; 53 };
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 } \ 752 } \
750 masm-> 753 masm->
751 #else 754 #else
752 #define ACCESS_MASM(masm) masm-> 755 #define ACCESS_MASM(masm) masm->
753 #endif 756 #endif
754 757
755 758
756 } } // namespace v8::internal 759 } } // namespace v8::internal
757 760
758 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 761 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/fast-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698