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

Side by Side Diff: src/factory.h

Issue 239203003: Handlify CodeCache. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/factory.cc » ('j') | src/objects.cc » ('J')
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 "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // Create a block context. 208 // Create a block context.
209 Handle<Context> NewBlockContext(Handle<JSFunction> function, 209 Handle<Context> NewBlockContext(Handle<JSFunction> function,
210 Handle<Context> previous, 210 Handle<Context> previous,
211 Handle<ScopeInfo> scope_info); 211 Handle<ScopeInfo> scope_info);
212 212
213 // Allocate a new struct. The struct is pretenured (allocated directly in 213 // Allocate a new struct. The struct is pretenured (allocated directly in
214 // the old generation). 214 // the old generation).
215 Handle<Struct> NewStruct(InstanceType type); 215 Handle<Struct> NewStruct(InstanceType type);
216 216
217 Handle<CodeCache> NewCodeCache();
218
217 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( 219 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry(
218 int aliased_context_slot); 220 int aliased_context_slot);
219 221
220 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor(); 222 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor();
221 223
222 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); 224 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo();
223 225
224 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); 226 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo();
225 227
226 Handle<Script> NewScript(Handle<String> source); 228 Handle<Script> NewScript(Handle<String> source);
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 637
636 // Update the map cache in the native context with (keys, map) 638 // Update the map cache in the native context with (keys, map)
637 Handle<MapCache> AddToMapCache(Handle<Context> context, 639 Handle<MapCache> AddToMapCache(Handle<Context> context,
638 Handle<FixedArray> keys, 640 Handle<FixedArray> keys,
639 Handle<Map> map); 641 Handle<Map> map);
640 }; 642 };
641 643
642 } } // namespace v8::internal 644 } } // namespace v8::internal
643 645
644 #endif // V8_FACTORY_H_ 646 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698