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

Side by Side Diff: src/factory.h

Issue 1600353003: [runtime] remove left-over distinction between AccessorInfo and ExecutableAccessorInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/elements.cc ('k') | 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 "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 // Allocate a new struct. The struct is pretenured (allocated directly in 256 // Allocate a new struct. The struct is pretenured (allocated directly in
257 // the old generation). 257 // the old generation).
258 Handle<Struct> NewStruct(InstanceType type); 258 Handle<Struct> NewStruct(InstanceType type);
259 259
260 Handle<CodeCache> NewCodeCache(); 260 Handle<CodeCache> NewCodeCache();
261 261
262 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( 262 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry(
263 int aliased_context_slot); 263 int aliased_context_slot);
264 264
265 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); 265 Handle<AccessorInfo> NewAccessorInfo();
266 266
267 Handle<Script> NewScript(Handle<String> source); 267 Handle<Script> NewScript(Handle<String> source);
268 268
269 // Foreign objects are pretenured when allocated by the bootstrapper. 269 // Foreign objects are pretenured when allocated by the bootstrapper.
270 Handle<Foreign> NewForeign(Address addr, 270 Handle<Foreign> NewForeign(Address addr,
271 PretenureFlag pretenure = NOT_TENURED); 271 PretenureFlag pretenure = NOT_TENURED);
272 272
273 // Allocate a new foreign object. The foreign is pretenured (allocated 273 // Allocate a new foreign object. The foreign is pretenured (allocated
274 // directly in the old generation). 274 // directly in the old generation).
275 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); 275 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign);
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 Handle<JSFunction> NewFunction(Handle<Map> map, 703 Handle<JSFunction> NewFunction(Handle<Map> map,
704 Handle<SharedFunctionInfo> info, 704 Handle<SharedFunctionInfo> info,
705 Handle<Context> context, 705 Handle<Context> context,
706 PretenureFlag pretenure = TENURED); 706 PretenureFlag pretenure = TENURED);
707 }; 707 };
708 708
709 } // namespace internal 709 } // namespace internal
710 } // namespace v8 710 } // namespace v8
711 711
712 #endif // V8_FACTORY_H_ 712 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698