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

Side by Side Diff: src/factory.h

Issue 668248: Small simplification of #include dependencies. (Closed)
Patch Set: Removed zone.h from .cc files where unused. Created 10 years, 9 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/debug.cc ('k') | src/frame-element.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 12 matching lines...) Expand all
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #ifndef V8_FACTORY_H_ 28 #ifndef V8_FACTORY_H_
29 #define V8_FACTORY_H_ 29 #define V8_FACTORY_H_
30 30
31 #include "globals.h" 31 #include "globals.h"
32 #include "heap.h" 32 #include "heap.h"
33 #include "zone-inl.h"
34 33
35 namespace v8 { 34 namespace v8 {
36 namespace internal { 35 namespace internal {
37 36
37 // Forward declarations.
38 class ZoneScopeInfo;
38 39
39 // Interface for handle based allocation. 40 // Interface for handle based allocation.
40 41
41 class Factory : public AllStatic { 42 class Factory : public AllStatic {
42 public: 43 public:
43 // Allocate a new fixed array with undefined entries. 44 // Allocate a new fixed array with undefined entries.
44 static Handle<FixedArray> NewFixedArray( 45 static Handle<FixedArray> NewFixedArray(
45 int size, 46 int size,
46 PretenureFlag pretenure = NOT_TENURED); 47 PretenureFlag pretenure = NOT_TENURED);
47 48
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // Update the map cache in the global context with (keys, map) 386 // Update the map cache in the global context with (keys, map)
386 static Handle<MapCache> AddToMapCache(Handle<Context> context, 387 static Handle<MapCache> AddToMapCache(Handle<Context> context,
387 Handle<FixedArray> keys, 388 Handle<FixedArray> keys,
388 Handle<Map> map); 389 Handle<Map> map);
389 }; 390 };
390 391
391 392
392 } } // namespace v8::internal 393 } } // namespace v8::internal
393 394
394 #endif // V8_FACTORY_H_ 395 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/frame-element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698