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

Side by Side Diff: src/globals.h

Issue 892223002: tools: fix postmortem generator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 560
561 561
562 // ----------------------------------------------------------------------------- 562 // -----------------------------------------------------------------------------
563 // Macros 563 // Macros
564 564
565 // Testers for test. 565 // Testers for test.
566 566
567 #define HAS_SMI_TAG(value) \ 567 #define HAS_SMI_TAG(value) \
568 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag) 568 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag)
569 569
570 #define HAS_FAILURE_TAG(value) \
571 ((reinterpret_cast<intptr_t>(value) & kFailureTagMask) == kFailureTag)
572
573 // OBJECT_POINTER_ALIGN returns the value aligned as a HeapObject pointer 570 // OBJECT_POINTER_ALIGN returns the value aligned as a HeapObject pointer
574 #define OBJECT_POINTER_ALIGN(value) \ 571 #define OBJECT_POINTER_ALIGN(value) \
575 (((value) + kObjectAlignmentMask) & ~kObjectAlignmentMask) 572 (((value) + kObjectAlignmentMask) & ~kObjectAlignmentMask)
576 573
577 // POINTER_SIZE_ALIGN returns the value aligned as a pointer. 574 // POINTER_SIZE_ALIGN returns the value aligned as a pointer.
578 #define POINTER_SIZE_ALIGN(value) \ 575 #define POINTER_SIZE_ALIGN(value) \
579 (((value) + kPointerAlignmentMask) & ~kPointerAlignmentMask) 576 (((value) + kPointerAlignmentMask) & ~kPointerAlignmentMask)
580 577
581 // CODE_POINTER_ALIGN returns the value aligned as a generated code segment. 578 // CODE_POINTER_ALIGN returns the value aligned as a generated code segment.
582 #define CODE_POINTER_ALIGN(value) \ 579 #define CODE_POINTER_ALIGN(value) \
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 DCHECK(IsValidFunctionKind(kind)); 814 DCHECK(IsValidFunctionKind(kind));
818 return kind & FunctionKind::kDefaultConstructor; 815 return kind & FunctionKind::kDefaultConstructor;
819 } 816 }
820 817
821 818
822 } } // namespace v8::internal 819 } } // namespace v8::internal
823 820
824 namespace i = v8::internal; 821 namespace i = v8::internal;
825 822
826 #endif // V8_GLOBALS_H_ 823 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698