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

Side by Side Diff: src/factory.h

Issue 834443004: remove declarative accessors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/api.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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 // Allocate a new struct. The struct is pretenured (allocated directly in 258 // Allocate a new struct. The struct is pretenured (allocated directly in
259 // the old generation). 259 // the old generation).
260 Handle<Struct> NewStruct(InstanceType type); 260 Handle<Struct> NewStruct(InstanceType type);
261 261
262 Handle<CodeCache> NewCodeCache(); 262 Handle<CodeCache> NewCodeCache();
263 263
264 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( 264 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry(
265 int aliased_context_slot); 265 int aliased_context_slot);
266 266
267 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor();
268
269 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo();
270
271 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); 267 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo();
272 268
273 Handle<Script> NewScript(Handle<String> source); 269 Handle<Script> NewScript(Handle<String> source);
274 270
275 // Foreign objects are pretenured when allocated by the bootstrapper. 271 // Foreign objects are pretenured when allocated by the bootstrapper.
276 Handle<Foreign> NewForeign(Address addr, 272 Handle<Foreign> NewForeign(Address addr,
277 PretenureFlag pretenure = NOT_TENURED); 273 PretenureFlag pretenure = NOT_TENURED);
278 274
279 // Allocate a new foreign object. The foreign is pretenured (allocated 275 // Allocate a new foreign object. The foreign is pretenured (allocated
280 // directly in the old generation). 276 // directly in the old generation).
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 // Reinitialize a JSProxy into an (empty) JS object of respective type and 722 // Reinitialize a JSProxy into an (empty) JS object of respective type and
727 // size, but keeping the original prototype. The receiver must have at least 723 // size, but keeping the original prototype. The receiver must have at least
728 // the size of the new object. The object is reinitialized and behaves as an 724 // the size of the new object. The object is reinitialized and behaves as an
729 // object that has been freshly allocated. 725 // object that has been freshly allocated.
730 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 726 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
731 }; 727 };
732 728
733 } } // namespace v8::internal 729 } } // namespace v8::internal
734 730
735 #endif // V8_FACTORY_H_ 731 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698