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

Side by Side Diff: src/factory.h

Issue 230393002: Handlify all context allocators from the Heap. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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') | 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 "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 // Create a catch context. 196 // Create a catch context.
197 Handle<Context> NewCatchContext(Handle<JSFunction> function, 197 Handle<Context> NewCatchContext(Handle<JSFunction> function,
198 Handle<Context> previous, 198 Handle<Context> previous,
199 Handle<String> name, 199 Handle<String> name,
200 Handle<Object> thrown_object); 200 Handle<Object> thrown_object);
201 201
202 // Create a 'with' context. 202 // Create a 'with' context.
203 Handle<Context> NewWithContext(Handle<JSFunction> function, 203 Handle<Context> NewWithContext(Handle<JSFunction> function,
204 Handle<Context> previous, 204 Handle<Context> previous,
205 Handle<JSObject> extension); 205 Handle<JSReceiver> extension);
206 206
207 // Create a block context. 207 // Create a block context.
208 Handle<Context> NewBlockContext(Handle<JSFunction> function, 208 Handle<Context> NewBlockContext(Handle<JSFunction> function,
209 Handle<Context> previous, 209 Handle<Context> previous,
210 Handle<ScopeInfo> scope_info); 210 Handle<ScopeInfo> scope_info);
211 211
212 // Allocate a new struct. The struct is pretenured (allocated directly in 212 // Allocate a new struct. The struct is pretenured (allocated directly in
213 // the old generation). 213 // the old generation).
214 Handle<Struct> NewStruct(InstanceType type); 214 Handle<Struct> NewStruct(InstanceType type);
215 215
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 613
614 // Update the map cache in the native context with (keys, map) 614 // Update the map cache in the native context with (keys, map)
615 Handle<MapCache> AddToMapCache(Handle<Context> context, 615 Handle<MapCache> AddToMapCache(Handle<Context> context,
616 Handle<FixedArray> keys, 616 Handle<FixedArray> keys,
617 Handle<Map> map); 617 Handle<Map> map);
618 }; 618 };
619 619
620 } } // namespace v8::internal 620 } } // namespace v8::internal
621 621
622 #endif // V8_FACTORY_H_ 622 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698