Chromium Code Reviews| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 const int kProcessorCacheLineSize = 64; | 97 const int kProcessorCacheLineSize = 64; |
| 98 | 98 |
| 99 // Constants relevant to double precision floating point numbers. | 99 // Constants relevant to double precision floating point numbers. |
| 100 | 100 |
| 101 // Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no | 101 // Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no |
| 102 // other bits set. | 102 // other bits set. |
| 103 const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51; | 103 const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51; |
| 104 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. | 104 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. |
| 105 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); | 105 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); |
| 106 | 106 |
| 107 // AST node ids. | |
| 108 typedef unsigned AstId; | |
|
fschneider
2011/02/11 11:28:18
Maybe consider leaving ast id as integers (like be
| |
| 109 const AstId kNoAstId = static_cast<AstId>(-1); | |
| 110 | |
| 107 | 111 |
| 108 // ----------------------------------------------------------------------------- | 112 // ----------------------------------------------------------------------------- |
| 109 // Forward declarations for frequently used classes | 113 // Forward declarations for frequently used classes |
| 110 // (sorted alphabetically) | 114 // (sorted alphabetically) |
| 111 | 115 |
| 112 class AccessorInfo; | 116 class AccessorInfo; |
| 113 class Allocation; | 117 class Allocation; |
| 114 class Arguments; | 118 class Arguments; |
| 115 class Assembler; | 119 class Assembler; |
| 116 class AssertNoAllocation; | 120 class AssertNoAllocation; |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 464 CMOV = 15, // x86 | 468 CMOV = 15, // x86 |
| 465 RDTSC = 4, // x86 | 469 RDTSC = 4, // x86 |
| 466 CPUID = 10, // x86 | 470 CPUID = 10, // x86 |
| 467 VFP3 = 1, // ARM | 471 VFP3 = 1, // ARM |
| 468 ARMv7 = 2, // ARM | 472 ARMv7 = 2, // ARM |
| 469 SAHF = 0}; // x86 | 473 SAHF = 0}; // x86 |
| 470 | 474 |
| 471 } } // namespace v8::internal | 475 } } // namespace v8::internal |
| 472 | 476 |
| 473 #endif // V8_V8GLOBALS_H_ | 477 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |