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

Side by Side Diff: src/v8globals.h

Issue 6326003: X64 Crnakshaft: Added GeneratePrologue implementation. (Closed)
Patch Set: Addressed review comments. Created 9 years, 11 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 | « src/lithium-allocator.h ('k') | src/x64/lithium-codegen-x64.cc » ('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 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
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
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_
OLDNEW
« no previous file with comments | « src/lithium-allocator.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698