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

Side by Side Diff: src/globals.h

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/full-codegen.cc ('k') | src/heap-snapshot-generator.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 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 enum SmiCheckType { 644 enum SmiCheckType {
645 DONT_DO_SMI_CHECK, 645 DONT_DO_SMI_CHECK,
646 DO_SMI_CHECK 646 DO_SMI_CHECK
647 }; 647 };
648 648
649 649
650 enum ScopeType { 650 enum ScopeType {
651 EVAL_SCOPE, // The top-level scope for an eval source. 651 EVAL_SCOPE, // The top-level scope for an eval source.
652 FUNCTION_SCOPE, // The top-level scope for a function. 652 FUNCTION_SCOPE, // The top-level scope for a function.
653 MODULE_SCOPE, // The scope introduced by a module literal 653 MODULE_SCOPE, // The scope introduced by a module literal
654 GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval. 654 SCRIPT_SCOPE, // The top-level scope for a script or a top-level eval.
655 CATCH_SCOPE, // The scope introduced by catch. 655 CATCH_SCOPE, // The scope introduced by catch.
656 BLOCK_SCOPE, // The scope introduced by a new block. 656 BLOCK_SCOPE, // The scope introduced by a new block.
657 WITH_SCOPE, // The scope introduced by with. 657 WITH_SCOPE, // The scope introduced by with.
658 ARROW_SCOPE // The top-level scope for an arrow function literal. 658 ARROW_SCOPE // The top-level scope for an arrow function literal.
659 }; 659 };
660 660
661 661
662 const uint32_t kHoleNanUpper32 = 0x7FFFFFFF; 662 const uint32_t kHoleNanUpper32 = 0x7FFFFFFF;
663 const uint32_t kHoleNanLower32 = 0xFFFFFFFF; 663 const uint32_t kHoleNanLower32 = 0xFFFFFFFF;
664 const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; 664 const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 826
827 inline bool IsDefaultConstructorCallSuper(FunctionKind kind) { 827 inline bool IsDefaultConstructorCallSuper(FunctionKind kind) {
828 DCHECK(IsValidFunctionKind(kind)); 828 DCHECK(IsValidFunctionKind(kind));
829 return kind & FunctionKind::kDefaultConstructorCallSuper; 829 return kind & FunctionKind::kDefaultConstructorCallSuper;
830 } 830 }
831 } } // namespace v8::internal 831 } } // namespace v8::internal
832 832
833 namespace i = v8::internal; 833 namespace i = v8::internal;
834 834
835 #endif // V8_GLOBALS_H_ 835 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698