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

Side by Side Diff: src/objects/compilation-cache.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/code-cache.h ('k') | src/objects/debug-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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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_COMPILATION_CACHE_H_ 5 #ifndef V8_OBJECTS_COMPILATION_CACHE_H_
6 #define V8_OBJECTS_COMPILATION_CACHE_H_ 6 #define V8_OBJECTS_COMPILATION_CACHE_H_
7 7
8 #include "src/objects/hash-table.h" 8 #include "src/objects/hash-table.h"
9 9
10 // Has to be the last include (doesn't have include guards): 10 // Has to be the last include (doesn't have include guards):
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 Handle<CompilationCacheTable> cache, Handle<String> src, 90 Handle<CompilationCacheTable> cache, Handle<String> src,
91 Handle<SharedFunctionInfo> outer_info, Handle<SharedFunctionInfo> value, 91 Handle<SharedFunctionInfo> outer_info, Handle<SharedFunctionInfo> value,
92 Handle<Context> native_context, Handle<Cell> literals, int position); 92 Handle<Context> native_context, Handle<Cell> literals, int position);
93 static Handle<CompilationCacheTable> PutRegExp( 93 static Handle<CompilationCacheTable> PutRegExp(
94 Handle<CompilationCacheTable> cache, Handle<String> src, 94 Handle<CompilationCacheTable> cache, Handle<String> src,
95 JSRegExp::Flags flags, Handle<FixedArray> value); 95 JSRegExp::Flags flags, Handle<FixedArray> value);
96 void Remove(Object* value); 96 void Remove(Object* value);
97 void Age(); 97 void Age();
98 static const int kHashGenerations = 10; 98 static const int kHashGenerations = 10;
99 99
100 DECLARE_CAST(CompilationCacheTable) 100 DECL_CAST(CompilationCacheTable)
101 101
102 private: 102 private:
103 DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheTable); 103 DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheTable);
104 }; 104 };
105 105
106 } // namespace internal 106 } // namespace internal
107 } // namespace v8 107 } // namespace v8
108 108
109 #include "src/objects/object-macros-undef.h" 109 #include "src/objects/object-macros-undef.h"
110 110
111 #endif // V8_OBJECTS_COMPILATION_CACHE_H_ 111 #endif // V8_OBJECTS_COMPILATION_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects/code-cache.h ('k') | src/objects/debug-objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698