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

Side by Side Diff: src/interface.h

Issue 885813002: Minor refactoring for Zone class and friends. (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 | « src/deoptimizer.h ('k') | src/jsregexp.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_INTERFACE_H_ 5 #ifndef V8_INTERFACE_H_
6 #define V8_INTERFACE_H_ 6 #define V8_INTERFACE_H_
7 7
8 #include "src/ast-value-factory.h" 8 #include "src/ast-value-factory.h"
9 #include "src/zone-inl.h" // For operator new.
10 9
11 namespace v8 { 10 namespace v8 {
12 namespace internal { 11 namespace internal {
13 12
14 13
15 // This class implements the following abstract grammar of interfaces 14 // This class implements the following abstract grammar of interfaces
16 // (i.e. module types): 15 // (i.e. module types):
17 // interface ::= UNDETERMINED | VALUE | CONST | MODULE(exports) 16 // interface ::= UNDETERMINED | VALUE | CONST | MODULE(exports)
18 // exports ::= {name : interface, ...} 17 // exports ::= {name : interface, ...}
19 // A frozen type is one that is fully determined. Unification does not 18 // A frozen type is one that is fully determined. Unification does not
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 } 205 }
207 206
208 void DoAdd(const void* name, uint32_t hash, Interface* interface, Zone* zone, 207 void DoAdd(const void* name, uint32_t hash, Interface* interface, Zone* zone,
209 bool* ok); 208 bool* ok);
210 void DoUnify(Interface* that, bool* ok, Zone* zone); 209 void DoUnify(Interface* that, bool* ok, Zone* zone);
211 }; 210 };
212 211
213 } } // namespace v8::internal 212 } } // namespace v8::internal
214 213
215 #endif // V8_INTERFACE_H_ 214 #endif // V8_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/jsregexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698