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

Side by Side Diff: src/factory.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/execution.h ('k') | src/field-index.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/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 FeedbackVectorSpec;
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, 19 Handle<Oddball> NewOddball(Handle<Map> map,
20 const char* to_string, 20 const char* to_string,
21 Handle<Object> to_number, 21 Handle<Object> to_number,
22 byte kind); 22 byte kind);
23 23
24 // Allocates a fixed array initialized with undefined values. 24 // Allocates a fixed array initialized with undefined values.
25 Handle<FixedArray> NewFixedArray( 25 Handle<FixedArray> NewFixedArray(
26 int size, 26 int size,
27 PretenureFlag pretenure = NOT_TENURED); 27 PretenureFlag pretenure = NOT_TENURED);
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 // Reinitialize a JSProxy into an (empty) JS object of respective type and 740 // Reinitialize a JSProxy into an (empty) JS object of respective type and
741 // size, but keeping the original prototype. The receiver must have at least 741 // size, but keeping the original prototype. The receiver must have at least
742 // the size of the new object. The object is reinitialized and behaves as an 742 // the size of the new object. The object is reinitialized and behaves as an
743 // object that has been freshly allocated. 743 // object that has been freshly allocated.
744 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 744 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
745 }; 745 };
746 746
747 } } // namespace v8::internal 747 } } // namespace v8::internal
748 748
749 #endif // V8_FACTORY_H_ 749 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/execution.h ('k') | src/field-index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698