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

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

Issue 1539033: Fix build problems on Windows 64-bit by casting. (Closed)
Patch Set: Created 10 years, 8 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
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 19 matching lines...) Expand all
30 30
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 = { 10 }; // r10. 39 static const Register kScratchRegister = { 10 }; // r10.
40 static const Register kRootRegister = { 13 }; // r13
40 41
41 // Convenience for platform-independent signatures. 42 // Convenience for platform-independent signatures.
42 typedef Operand MemOperand; 43 typedef Operand MemOperand;
43 44
44 // Forward declaration. 45 // Forward declaration.
45 class JumpTarget; 46 class JumpTarget;
46 47
47 struct SmiIndex { 48 struct SmiIndex {
48 SmiIndex(Register index_register, ScaleFactor scale) 49 SmiIndex(Register index_register, ScaleFactor scale)
49 : reg(index_register), 50 : reg(index_register),
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 } \ 826 } \
826 masm-> 827 masm->
827 #else 828 #else
828 #define ACCESS_MASM(masm) masm-> 829 #define ACCESS_MASM(masm) masm->
829 #endif 830 #endif
830 831
831 832
832 } } // namespace v8::internal 833 } } // namespace v8::internal
833 834
834 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 835 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« src/runtime.cc ('K') | « src/x64/builtins-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698