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

Side by Side Diff: src/factory.h

Issue 2663513002: [objects.h splitting] Move out ConstantElementsPair and BoileplateDescriptor. (Closed)
Patch Set: moving constant_elements_kind to ast.cc Created 3 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/compiler/js-operator.h ('k') | src/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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
11 #include "src/type-feedback-vector.h" 11 #include "src/type-feedback-vector.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 class BoilerplateDescription;
17 class ConstantElementsPair;
18
16 enum FunctionMode { 19 enum FunctionMode {
17 // With prototype. 20 // With prototype.
18 FUNCTION_WITH_WRITEABLE_PROTOTYPE, 21 FUNCTION_WITH_WRITEABLE_PROTOTYPE,
19 FUNCTION_WITH_READONLY_PROTOTYPE, 22 FUNCTION_WITH_READONLY_PROTOTYPE,
20 // Without prototype. 23 // Without prototype.
21 FUNCTION_WITHOUT_PROTOTYPE 24 FUNCTION_WITHOUT_PROTOTYPE
22 }; 25 };
23 26
24 // Interface for handle based allocation. 27 // Interface for handle based allocation.
25 class V8_EXPORT_PRIVATE Factory final { 28 class V8_EXPORT_PRIVATE Factory final {
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 840 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
838 FunctionMode function_mode); 841 FunctionMode function_mode);
839 842
840 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 843 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
841 }; 844 };
842 845
843 } // namespace internal 846 } // namespace internal
844 } // namespace v8 847 } // namespace v8
845 848
846 #endif // V8_FACTORY_H_ 849 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698