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

Side by Side Diff: src/factory.h

Issue 2407423002: [modules] Implement @@iterator on namespace objects. (Closed)
Patch Set: 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
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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 517
518 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done); 518 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
519 519
520 Handle<JSMap> NewJSMap(); 520 Handle<JSMap> NewJSMap();
521 Handle<JSSet> NewJSSet(); 521 Handle<JSSet> NewJSSet();
522 522
523 // TODO(aandrey): Maybe these should take table, index and kind arguments. 523 // TODO(aandrey): Maybe these should take table, index and kind arguments.
524 Handle<JSMapIterator> NewJSMapIterator(); 524 Handle<JSMapIterator> NewJSMapIterator();
525 Handle<JSSetIterator> NewJSSetIterator(); 525 Handle<JSSetIterator> NewJSSetIterator();
526 526
527 Handle<JSFixedArrayIterator> NewJSFixedArrayIterator(
528 Handle<FixedArray> array);
529
527 // Allocates a bound function. 530 // Allocates a bound function.
528 MaybeHandle<JSBoundFunction> NewJSBoundFunction( 531 MaybeHandle<JSBoundFunction> NewJSBoundFunction(
529 Handle<JSReceiver> target_function, Handle<Object> bound_this, 532 Handle<JSReceiver> target_function, Handle<Object> bound_this,
530 Vector<Handle<Object>> bound_args); 533 Vector<Handle<Object>> bound_args);
531 534
532 // Allocates a Harmony proxy. 535 // Allocates a Harmony proxy.
533 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target, 536 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target,
534 Handle<JSReceiver> handler); 537 Handle<JSReceiver> handler);
535 538
536 // Reinitialize an JSGlobalProxy based on a constructor. The object 539 // Reinitialize an JSGlobalProxy based on a constructor. The object
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 FunctionMode function_mode); 776 FunctionMode function_mode);
774 777
775 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 778 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
776 FunctionMode function_mode); 779 FunctionMode function_mode);
777 }; 780 };
778 781
779 } // namespace internal 782 } // namespace internal
780 } // namespace v8 783 } // namespace v8
781 784
782 #endif // V8_FACTORY_H_ 785 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698