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

Side by Side Diff: src/factory.h

Issue 1413723008: Revert of [es6] Fix Function and GeneratorFunction built-ins subclassing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@subclass
Patch Set: Created 5 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 | « src/bootstrapper.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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code, 498 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
499 Handle<Object> prototype, 499 Handle<Object> prototype,
500 bool read_only_prototype = false, 500 bool read_only_prototype = false,
501 bool is_strict = false); 501 bool is_strict = false);
502 Handle<JSFunction> NewFunction(Handle<String> name); 502 Handle<JSFunction> NewFunction(Handle<String> name);
503 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, 503 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
504 Handle<Code> code, 504 Handle<Code> code,
505 bool is_strict = false); 505 bool is_strict = false);
506 506
507 Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 507 Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
508 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info, 508 Handle<SharedFunctionInfo> function_info,
509 Handle<Context> context, PretenureFlag pretenure = TENURED); 509 Handle<Context> context,
510
511 Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
512 Handle<SharedFunctionInfo> function_info, Handle<Context> context,
513 PretenureFlag pretenure = TENURED); 510 PretenureFlag pretenure = TENURED);
514 511
515 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code, 512 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
516 Handle<Object> prototype, InstanceType type, 513 Handle<Object> prototype, InstanceType type,
517 int instance_size, 514 int instance_size,
518 bool read_only_prototype = false, 515 bool read_only_prototype = false,
519 bool install_constructor = false, 516 bool install_constructor = false,
520 bool is_strict = false); 517 bool is_strict = false);
521 Handle<JSFunction> NewFunction(Handle<String> name, 518 Handle<JSFunction> NewFunction(Handle<String> name,
522 Handle<Code> code, 519 Handle<Code> code,
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 // size, but keeping the original prototype. The receiver must have at least 713 // size, but keeping the original prototype. The receiver must have at least
717 // the size of the new object. The object is reinitialized and behaves as an 714 // the size of the new object. The object is reinitialized and behaves as an
718 // object that has been freshly allocated. 715 // object that has been freshly allocated.
719 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 716 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
720 }; 717 };
721 718
722 } // namespace internal 719 } // namespace internal
723 } // namespace v8 720 } // namespace v8
724 721
725 #endif // V8_FACTORY_H_ 722 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698