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

Side by Side Diff: src/factory.h

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 3 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 | Annotate | Revision Log
« 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 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 // Interface for handle based allocation. 13 // Interface for handle based allocation.
14 14
15 class Factory V8_FINAL { 15 class Factory FINAL {
16 public: 16 public:
17 Handle<Oddball> NewOddball(Handle<Map> map, 17 Handle<Oddball> NewOddball(Handle<Map> map,
18 const char* to_string, 18 const char* to_string,
19 Handle<Object> to_number, 19 Handle<Object> to_number,
20 byte kind); 20 byte kind);
21 21
22 // Allocates a fixed array initialized with undefined values. 22 // Allocates a fixed array initialized with undefined values.
23 Handle<FixedArray> NewFixedArray( 23 Handle<FixedArray> NewFixedArray(
24 int size, 24 int size,
25 PretenureFlag pretenure = NOT_TENURED); 25 PretenureFlag pretenure = NOT_TENURED);
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 // Reinitialize a JSProxy into an (empty) JS object of respective type and 704 // Reinitialize a JSProxy into an (empty) JS object of respective type and
705 // size, but keeping the original prototype. The receiver must have at least 705 // size, but keeping the original prototype. The receiver must have at least
706 // the size of the new object. The object is reinitialized and behaves as an 706 // the size of the new object. The object is reinitialized and behaves as an
707 // object that has been freshly allocated. 707 // object that has been freshly allocated.
708 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 708 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
709 }; 709 };
710 710
711 } } // namespace v8::internal 711 } } // namespace v8::internal
712 712
713 #endif // V8_FACTORY_H_ 713 #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