| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // Zap-value: The value used for zapping dead objects. | 71 // Zap-value: The value used for zapping dead objects. |
| 72 // Should be a recognizable hex value tagged as a heap object pointer. | 72 // Should be a recognizable hex value tagged as a heap object pointer. |
| 73 #ifdef V8_HOST_ARCH_64_BIT | 73 #ifdef V8_HOST_ARCH_64_BIT |
| 74 const Address kZapValue = | 74 const Address kZapValue = |
| 75 reinterpret_cast<Address>(V8_UINT64_C(0xdeadbeedbeadbeed)); | 75 reinterpret_cast<Address>(V8_UINT64_C(0xdeadbeedbeadbeed)); |
| 76 const Address kHandleZapValue = | 76 const Address kHandleZapValue = |
| 77 reinterpret_cast<Address>(V8_UINT64_C(0x1baddead0baddead)); | 77 reinterpret_cast<Address>(V8_UINT64_C(0x1baddead0baddead)); |
| 78 const Address kFromSpaceZapValue = | 78 const Address kFromSpaceZapValue = |
| 79 reinterpret_cast<Address>(V8_UINT64_C(0x1beefdad0beefdad)); | 79 reinterpret_cast<Address>(V8_UINT64_C(0x1beefdad0beefdad)); |
| 80 const uint64_t kDebugZapValue = 0xbadbaddbbadbaddb; | 80 const uint64_t kDebugZapValue = V8_UINT64_C(0xbadbaddbbadbaddb); |
| 81 const uint64_t kSlotsZapValue = V8_UINT64_C(0xbeefdeadbeefdeed); |
| 81 #else | 82 #else |
| 82 const Address kZapValue = reinterpret_cast<Address>(0xdeadbeed); | 83 const Address kZapValue = reinterpret_cast<Address>(0xdeadbeed); |
| 83 const Address kHandleZapValue = reinterpret_cast<Address>(0xbaddead); | 84 const Address kHandleZapValue = reinterpret_cast<Address>(0xbaddead); |
| 84 const Address kFromSpaceZapValue = reinterpret_cast<Address>(0xbeefdad); | 85 const Address kFromSpaceZapValue = reinterpret_cast<Address>(0xbeefdad); |
| 85 const uint32_t kSlotsZapValue = 0xbeefdeed; | 86 const uint32_t kSlotsZapValue = 0xbeefdeed; |
| 86 const uint32_t kDebugZapValue = 0xbadbaddb; | 87 const uint32_t kDebugZapValue = 0xbadbaddb; |
| 87 #endif | 88 #endif |
| 88 | 89 |
| 89 | 90 |
| 90 // Number of bits to represent the page size for paged spaces. The value of 13 | 91 // Number of bits to represent the page size for paged spaces. The value of 13 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 CMOV = 15, // x86 | 465 CMOV = 15, // x86 |
| 465 RDTSC = 4, // x86 | 466 RDTSC = 4, // x86 |
| 466 CPUID = 10, // x86 | 467 CPUID = 10, // x86 |
| 467 VFP3 = 1, // ARM | 468 VFP3 = 1, // ARM |
| 468 ARMv7 = 2, // ARM | 469 ARMv7 = 2, // ARM |
| 469 SAHF = 0}; // x86 | 470 SAHF = 0}; // x86 |
| 470 | 471 |
| 471 } } // namespace v8::internal | 472 } } // namespace v8::internal |
| 472 | 473 |
| 473 #endif // V8_V8GLOBALS_H_ | 474 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |