OLD | NEW |
---|---|
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 const int kProcessorCacheLineSize = 64; | 98 const int kProcessorCacheLineSize = 64; |
99 | 99 |
100 // Constants relevant to double precision floating point numbers. | 100 // Constants relevant to double precision floating point numbers. |
101 | 101 |
102 // Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no | 102 // Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no |
103 // other bits set. | 103 // other bits set. |
104 const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51; | 104 const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51; |
105 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. | 105 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. |
106 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); | 106 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); |
107 | 107 |
108 // Default maximum number of function optimization attempts before we | |
109 // give up. | |
110 const int kDefaultMaxOptCount = 10; | |
Kevin Millikin (Chromium)
2011/01/18 11:18:39
This should probably go in class Compiler instead
Vitaly Repeshko
2011/01/18 12:24:56
Done.
| |
111 | |
108 | 112 |
109 // ----------------------------------------------------------------------------- | 113 // ----------------------------------------------------------------------------- |
110 // Forward declarations for frequently used classes | 114 // Forward declarations for frequently used classes |
111 // (sorted alphabetically) | 115 // (sorted alphabetically) |
112 | 116 |
113 class AccessorInfo; | 117 class AccessorInfo; |
114 class Allocation; | 118 class Allocation; |
115 class Arguments; | 119 class Arguments; |
116 class Assembler; | 120 class Assembler; |
117 class AssertNoAllocation; | 121 class AssertNoAllocation; |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
465 CMOV = 15, // x86 | 469 CMOV = 15, // x86 |
466 RDTSC = 4, // x86 | 470 RDTSC = 4, // x86 |
467 CPUID = 10, // x86 | 471 CPUID = 10, // x86 |
468 VFP3 = 1, // ARM | 472 VFP3 = 1, // ARM |
469 ARMv7 = 2, // ARM | 473 ARMv7 = 2, // ARM |
470 SAHF = 0}; // x86 | 474 SAHF = 0}; // x86 |
471 | 475 |
472 } } // namespace v8::internal | 476 } } // namespace v8::internal |
473 | 477 |
474 #endif // V8_V8GLOBALS_H_ | 478 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |