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

Side by Side Diff: src/objects/scope-info.h

Issue 2961253002: [objects] Rename macros from DECLARE_ to DECL_ for consistency. (Closed)
Patch Set: Created 3 years, 5 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/objects/regexp-match-info.h ('k') | src/objects/script.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_SCOPE_INFO_H_ 5 #ifndef V8_OBJECTS_SCOPE_INFO_H_
6 #define V8_OBJECTS_SCOPE_INFO_H_ 6 #define V8_OBJECTS_SCOPE_INFO_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/utils.h" 10 #include "src/utils.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // ScopeInfo represents information about different scopes of a source 26 // ScopeInfo represents information about different scopes of a source
27 // program and the allocation of the scope's variables. Scope information 27 // program and the allocation of the scope's variables. Scope information
28 // is stored in a compressed form in ScopeInfo objects and is used 28 // is stored in a compressed form in ScopeInfo objects and is used
29 // at runtime (stack dumps, deoptimization, etc.). 29 // at runtime (stack dumps, deoptimization, etc.).
30 30
31 // This object provides quick access to scope info details for runtime 31 // This object provides quick access to scope info details for runtime
32 // routines. 32 // routines.
33 class ScopeInfo : public FixedArray { 33 class ScopeInfo : public FixedArray {
34 public: 34 public:
35 DECLARE_CAST(ScopeInfo) 35 DECL_CAST(ScopeInfo)
36 36
37 // Return the type of this scope. 37 // Return the type of this scope.
38 ScopeType scope_type(); 38 ScopeType scope_type();
39 39
40 // Does this scope call eval? 40 // Does this scope call eval?
41 bool CallsEval(); 41 bool CallsEval();
42 42
43 // Return the language mode of this scope. 43 // Return the language mode of this scope.
44 LanguageMode language_mode(); 44 LanguageMode language_mode();
45 45
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 friend class ScopeIterator; 334 friend class ScopeIterator;
335 }; 335 };
336 336
337 } // namespace internal 337 } // namespace internal
338 } // namespace v8 338 } // namespace v8
339 339
340 #include "src/objects/object-macros-undef.h" 340 #include "src/objects/object-macros-undef.h"
341 341
342 #endif // V8_OBJECTS_SCOPE_INFO_H_ 342 #endif // V8_OBJECTS_SCOPE_INFO_H_
OLDNEW
« no previous file with comments | « src/objects/regexp-match-info.h ('k') | src/objects/script.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698