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

Side by Side Diff: src/factory.h

Issue 1467473002: Install ConstructNonConstructable as construct stub for non-constructables. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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/debug/liveedit.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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 PUBLIC_SYMBOL_LIST(SYMBOL_ACCESSOR) 620 PUBLIC_SYMBOL_LIST(SYMBOL_ACCESSOR)
621 WELL_KNOWN_SYMBOL_LIST(SYMBOL_ACCESSOR) 621 WELL_KNOWN_SYMBOL_LIST(SYMBOL_ACCESSOR)
622 #undef SYMBOL_ACCESSOR 622 #undef SYMBOL_ACCESSOR
623 623
624 // Allocates a new SharedFunctionInfo object. 624 // Allocates a new SharedFunctionInfo object.
625 Handle<SharedFunctionInfo> NewSharedFunctionInfo( 625 Handle<SharedFunctionInfo> NewSharedFunctionInfo(
626 Handle<String> name, int number_of_literals, FunctionKind kind, 626 Handle<String> name, int number_of_literals, FunctionKind kind,
627 Handle<Code> code, Handle<ScopeInfo> scope_info, 627 Handle<Code> code, Handle<ScopeInfo> scope_info,
628 Handle<TypeFeedbackVector> feedback_vector); 628 Handle<TypeFeedbackVector> feedback_vector);
629 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name, 629 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name,
630 MaybeHandle<Code> code); 630 MaybeHandle<Code> code,
631 bool is_constructor);
631 632
632 // Allocates a new JSMessageObject object. 633 // Allocates a new JSMessageObject object.
633 Handle<JSMessageObject> NewJSMessageObject(MessageTemplate::Template message, 634 Handle<JSMessageObject> NewJSMessageObject(MessageTemplate::Template message,
634 Handle<Object> argument, 635 Handle<Object> argument,
635 int start_position, 636 int start_position,
636 int end_position, 637 int end_position,
637 Handle<Object> script, 638 Handle<Object> script,
638 Handle<Object> stack_frames); 639 Handle<Object> stack_frames);
639 640
640 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); 641 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 711
711 Handle<JSFunction> NewFunction(Handle<Map> map, 712 Handle<JSFunction> NewFunction(Handle<Map> map,
712 Handle<String> name, 713 Handle<String> name,
713 MaybeHandle<Code> maybe_code); 714 MaybeHandle<Code> maybe_code);
714 }; 715 };
715 716
716 } // namespace internal 717 } // namespace internal
717 } // namespace v8 718 } // namespace v8
718 719
719 #endif // V8_FACTORY_H_ 720 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug/liveedit.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698