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

Side by Side Diff: src/factory.h

Issue 2407423002: [modules] Implement @@iterator on namespace objects. (Closed)
Patch Set: Rename kSize to kHeadersize again. Created 4 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
« no previous file with comments | « src/contexts.h ('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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 523
524 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done); 524 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
525 525
526 Handle<JSMap> NewJSMap(); 526 Handle<JSMap> NewJSMap();
527 Handle<JSSet> NewJSSet(); 527 Handle<JSSet> NewJSSet();
528 528
529 // TODO(aandrey): Maybe these should take table, index and kind arguments. 529 // TODO(aandrey): Maybe these should take table, index and kind arguments.
530 Handle<JSMapIterator> NewJSMapIterator(); 530 Handle<JSMapIterator> NewJSMapIterator();
531 Handle<JSSetIterator> NewJSSetIterator(); 531 Handle<JSSetIterator> NewJSSetIterator();
532 532
533 Handle<JSFixedArrayIterator> NewJSFixedArrayIterator(
534 Handle<FixedArray> array);
535
533 // Allocates a bound function. 536 // Allocates a bound function.
534 MaybeHandle<JSBoundFunction> NewJSBoundFunction( 537 MaybeHandle<JSBoundFunction> NewJSBoundFunction(
535 Handle<JSReceiver> target_function, Handle<Object> bound_this, 538 Handle<JSReceiver> target_function, Handle<Object> bound_this,
536 Vector<Handle<Object>> bound_args); 539 Vector<Handle<Object>> bound_args);
537 540
538 // Allocates a Harmony proxy. 541 // Allocates a Harmony proxy.
539 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target, 542 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target,
540 Handle<JSReceiver> handler); 543 Handle<JSReceiver> handler);
541 544
542 // Reinitialize an JSGlobalProxy based on a constructor. The object 545 // Reinitialize an JSGlobalProxy based on a constructor. The object
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 FunctionMode function_mode); 782 FunctionMode function_mode);
780 783
781 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 784 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
782 FunctionMode function_mode); 785 FunctionMode function_mode);
783 }; 786 };
784 787
785 } // namespace internal 788 } // namespace internal
786 } // namespace v8 789 } // namespace v8
787 790
788 #endif // V8_FACTORY_H_ 791 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698