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

Side by Side Diff: src/factory.h

Issue 607913002: Report promise reject with no handler (behind a flag). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 6 years, 2 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 | Annotate | Revision Log
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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 Handle<Code> code, Handle<ScopeInfo> scope_info, 602 Handle<Code> code, Handle<ScopeInfo> scope_info,
603 Handle<TypeFeedbackVector> feedback_vector); 603 Handle<TypeFeedbackVector> feedback_vector);
604 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name, 604 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name,
605 MaybeHandle<Code> code); 605 MaybeHandle<Code> code);
606 606
607 // Allocate a new type feedback vector 607 // Allocate a new type feedback vector
608 Handle<TypeFeedbackVector> NewTypeFeedbackVector(int slot_count); 608 Handle<TypeFeedbackVector> NewTypeFeedbackVector(int slot_count);
609 609
610 // Allocates a new JSMessageObject object. 610 // Allocates a new JSMessageObject object.
611 Handle<JSMessageObject> NewJSMessageObject( 611 Handle<JSMessageObject> NewJSMessageObject(
612 Handle<String> type, 612 Handle<String> type, Handle<JSArray> arguments, Handle<Object> promise,
613 Handle<JSArray> arguments, 613 int start_position, int end_position, Handle<Object> script,
614 int start_position,
615 int end_position,
616 Handle<Object> script,
617 Handle<Object> stack_frames); 614 Handle<Object> stack_frames);
618 615
619 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); 616 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
620 617
621 // Return a map using the map cache in the native context. 618 // Return a map using the map cache in the native context.
622 // The key the an ordered set of property names. 619 // The key the an ordered set of property names.
623 Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, 620 Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context,
624 Handle<FixedArray> keys); 621 Handle<FixedArray> keys);
625 622
626 // Creates a new FixedArray that holds the data associated with the 623 // Creates a new FixedArray that holds the data associated with the
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 // Reinitialize a JSProxy into an (empty) JS object of respective type and 697 // Reinitialize a JSProxy into an (empty) JS object of respective type and
701 // size, but keeping the original prototype. The receiver must have at least 698 // size, but keeping the original prototype. The receiver must have at least
702 // the size of the new object. The object is reinitialized and behaves as an 699 // the size of the new object. The object is reinitialized and behaves as an
703 // object that has been freshly allocated. 700 // object that has been freshly allocated.
704 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 701 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
705 }; 702 };
706 703
707 } } // namespace v8::internal 704 } } // namespace v8::internal
708 705
709 #endif // V8_FACTORY_H_ 706 #endif // V8_FACTORY_H_
OLDNEW
« src/debug.cc ('K') | « src/execution.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698