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

Side by Side Diff: src/globals.h

Issue 1633024: Revert r4444 "Inline fast cases in string keyed load IC." (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
« no previous file with comments | « no previous file | src/ia32/codegen-ia32.h » ('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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const int kIntptrSize = sizeof(intptr_t); // NOLINT 140 const int kIntptrSize = sizeof(intptr_t); // NOLINT
141 141
142 #if V8_HOST_ARCH_64_BIT 142 #if V8_HOST_ARCH_64_BIT
143 const int kPointerSizeLog2 = 3; 143 const int kPointerSizeLog2 = 3;
144 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); 144 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000);
145 #else 145 #else
146 const int kPointerSizeLog2 = 2; 146 const int kPointerSizeLog2 = 2;
147 const intptr_t kIntptrSignBit = 0x80000000; 147 const intptr_t kIntptrSignBit = 0x80000000;
148 #endif 148 #endif
149 149
150 // Mask for the sign bit in a smi.
151 const intptr_t kSmiSignMask = kIntptrSignBit;
152
153 const int kObjectAlignmentBits = kPointerSizeLog2; 150 const int kObjectAlignmentBits = kPointerSizeLog2;
154 const intptr_t kObjectAlignment = 1 << kObjectAlignmentBits; 151 const intptr_t kObjectAlignment = 1 << kObjectAlignmentBits;
155 const intptr_t kObjectAlignmentMask = kObjectAlignment - 1; 152 const intptr_t kObjectAlignmentMask = kObjectAlignment - 1;
156 153
157 // Desired alignment for pointers. 154 // Desired alignment for pointers.
158 const intptr_t kPointerAlignment = (1 << kPointerSizeLog2); 155 const intptr_t kPointerAlignment = (1 << kPointerSizeLog2);
159 const intptr_t kPointerAlignmentMask = kPointerAlignment - 1; 156 const intptr_t kPointerAlignmentMask = kPointerAlignment - 1;
160 157
161 // Desired alignment for maps. 158 // Desired alignment for maps.
162 #if V8_HOST_ARCH_64_BIT 159 #if V8_HOST_ARCH_64_BIT
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 CMOV = 15, // x86 603 CMOV = 15, // x86
607 RDTSC = 4, // x86 604 RDTSC = 4, // x86
608 CPUID = 10, // x86 605 CPUID = 10, // x86
609 VFP3 = 1, // ARM 606 VFP3 = 1, // ARM
610 ARMv7 = 2, // ARM 607 ARMv7 = 2, // ARM
611 SAHF = 0}; // x86 608 SAHF = 0}; // x86
612 609
613 } } // namespace v8::internal 610 } } // namespace v8::internal
614 611
615 #endif // V8_GLOBALS_H_ 612 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698