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

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

Issue 7015043: Fix the GC branch so it compiles and runs on 64 bit. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 7 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/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 static const Register kRootRegister = { 13 }; // r13 (callee save). 52 static const Register kRootRegister = { 13 }; // r13 (callee save).
53 // Value of smi in kSmiConstantRegister. 53 // Value of smi in kSmiConstantRegister.
54 static const int kSmiConstantRegisterValue = 1; 54 static const int kSmiConstantRegisterValue = 1;
55 // Actual value of root register is offset from the root array's start 55 // Actual value of root register is offset from the root array's start
56 // to take advantage of negitive 8-bit displacement values. 56 // to take advantage of negitive 8-bit displacement values.
57 static const int kRootRegisterBias = 128; 57 static const int kRootRegisterBias = 128;
58 58
59 // Convenience for platform-independent signatures. 59 // Convenience for platform-independent signatures.
60 typedef Operand MemOperand; 60 typedef Operand MemOperand;
61 61
62 enum EmitRememberedSet { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET };
63 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK };
64
65 bool Aliasing(Register r1, Register r2, Register r3, Register r4);
66
62 // Forward declaration. 67 // Forward declaration.
63 class JumpTarget; 68 class JumpTarget;
64 69
65 struct SmiIndex { 70 struct SmiIndex {
66 SmiIndex(Register index_register, ScaleFactor scale) 71 SmiIndex(Register index_register, ScaleFactor scale)
67 : reg(index_register), 72 : reg(index_register),
68 scale(scale) {} 73 scale(scale) {}
69 Register reg; 74 Register reg;
70 ScaleFactor scale; 75 ScaleFactor scale;
71 }; 76 };
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 Jump(adaptor, RelocInfo::CODE_TARGET); 2002 Jump(adaptor, RelocInfo::CODE_TARGET);
1998 } 2003 }
1999 bind(&invoke); 2004 bind(&invoke);
2000 } 2005 }
2001 } 2006 }
2002 2007
2003 2008
2004 } } // namespace v8::internal 2009 } } // namespace v8::internal
2005 2010
2006 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 2011 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698