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

Side by Side Diff: src/factory.h

Issue 2483103002: Remove NewJSObjectWithMemento (Closed)
Patch Set: Created 4 years, 1 month 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 | « 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 "src/globals.h" 8 #include "src/globals.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 #undef SIMD128_NEW_DECL 431 #undef SIMD128_NEW_DECL
432 432
433 Handle<JSWeakMap> NewJSWeakMap(); 433 Handle<JSWeakMap> NewJSWeakMap();
434 434
435 Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length); 435 Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length);
436 436
437 // JS objects are pretenured when allocated by the bootstrapper and 437 // JS objects are pretenured when allocated by the bootstrapper and
438 // runtime. 438 // runtime.
439 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 439 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
440 PretenureFlag pretenure = NOT_TENURED); 440 PretenureFlag pretenure = NOT_TENURED);
441 // JSObject that should have a memento pointing to the allocation site.
442 Handle<JSObject> NewJSObjectWithMemento(Handle<JSFunction> constructor,
443 Handle<AllocationSite> site);
444 // JSObject without a prototype. 441 // JSObject without a prototype.
445 Handle<JSObject> NewJSObjectWithNullProto(); 442 Handle<JSObject> NewJSObjectWithNullProto();
446 443
447 // Global objects are pretenured and initialized based on a constructor. 444 // Global objects are pretenured and initialized based on a constructor.
448 Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor); 445 Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor);
449 446
450 // JS objects are pretenured when allocated by the bootstrapper and 447 // JS objects are pretenured when allocated by the bootstrapper and
451 // runtime. 448 // runtime.
452 Handle<JSObject> NewJSObjectFromMap( 449 Handle<JSObject> NewJSObjectFromMap(
453 Handle<Map> map, 450 Handle<Map> map,
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 FunctionMode function_mode); 785 FunctionMode function_mode);
789 786
790 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 787 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
791 FunctionMode function_mode); 788 FunctionMode function_mode);
792 }; 789 };
793 790
794 } // namespace internal 791 } // namespace internal
795 } // namespace v8 792 } // namespace v8
796 793
797 #endif // V8_FACTORY_H_ 794 #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