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

Side by Side Diff: src/objects/code-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/arguments.h ('k') | src/objects/compilation-cache.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_CODE_CACHE_H_ 5 #ifndef V8_OBJECTS_CODE_CACHE_H_
6 #define V8_OBJECTS_CODE_CACHE_H_ 6 #define V8_OBJECTS_CODE_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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 }; 89 };
90 90
91 class CodeCacheHashTable 91 class CodeCacheHashTable
92 : public HashTable<CodeCacheHashTable, CodeCacheHashTableShape> { 92 : public HashTable<CodeCacheHashTable, CodeCacheHashTableShape> {
93 public: 93 public:
94 static Handle<CodeCacheHashTable> Put(Handle<CodeCacheHashTable> table, 94 static Handle<CodeCacheHashTable> Put(Handle<CodeCacheHashTable> table,
95 Handle<Name> name, Handle<Code> code); 95 Handle<Name> name, Handle<Code> code);
96 96
97 Code* Lookup(Name* name, Code::Flags flags); 97 Code* Lookup(Name* name, Code::Flags flags);
98 98
99 DECLARE_CAST(CodeCacheHashTable) 99 DECL_CAST(CodeCacheHashTable)
100 100
101 private: 101 private:
102 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeCacheHashTable); 102 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeCacheHashTable);
103 }; 103 };
104 104
105 } // namespace internal 105 } // namespace internal
106 } // namespace v8 106 } // namespace v8
107 107
108 #include "src/objects/object-macros-undef.h" 108 #include "src/objects/object-macros-undef.h"
109 109
110 #endif // V8_OBJECTS_CODE_CACHE_H_ 110 #endif // V8_OBJECTS_CODE_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects/arguments.h ('k') | src/objects/compilation-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698