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

Side by Side Diff: src/factory.h

Issue 1376443002: Refactored interface of FeedbackVectorSpec and friends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Created 5 years, 2 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/ast-numbering.cc ('k') | src/factory.cc » ('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/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 class FeedbackVectorSpec; 14 class StaticFeedbackVectorSpec;
15 15
16 // Interface for handle based allocation. 16 // Interface for handle based allocation.
17 class Factory final { 17 class Factory final {
18 public: 18 public:
19 Handle<Oddball> NewOddball(Handle<Map> map, const char* to_string, 19 Handle<Oddball> NewOddball(Handle<Map> map, const char* to_string,
20 Handle<Object> to_number, const char* type_of, 20 Handle<Object> to_number, const char* type_of,
21 byte kind); 21 byte kind);
22 22
23 // Allocates a fixed array initialized with undefined values. 23 // Allocates a fixed array initialized with undefined values.
24 Handle<FixedArray> NewFixedArray( 24 Handle<FixedArray> NewFixedArray(
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 // Reinitialize a JSProxy into an (empty) JS object of respective type and 727 // Reinitialize a JSProxy into an (empty) JS object of respective type and
728 // size, but keeping the original prototype. The receiver must have at least 728 // size, but keeping the original prototype. The receiver must have at least
729 // the size of the new object. The object is reinitialized and behaves as an 729 // the size of the new object. The object is reinitialized and behaves as an
730 // object that has been freshly allocated. 730 // object that has been freshly allocated.
731 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 731 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
732 }; 732 };
733 733
734 } } // namespace v8::internal 734 } } // namespace v8::internal
735 735
736 #endif // V8_FACTORY_H_ 736 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast-numbering.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698