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

Side by Side Diff: src/factory.h

Issue 693813002: Add debug mirror support for ES6 Map/Set iterators. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: added TODO Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/api.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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 438
439 // Creates a new JSTypedArray with the specified buffer. 439 // Creates a new JSTypedArray with the specified buffer.
440 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, 440 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
441 Handle<JSArrayBuffer> buffer, 441 Handle<JSArrayBuffer> buffer,
442 size_t byte_offset, size_t length); 442 size_t byte_offset, size_t length);
443 443
444 Handle<JSDataView> NewJSDataView(); 444 Handle<JSDataView> NewJSDataView();
445 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer, 445 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer,
446 size_t byte_offset, size_t byte_length); 446 size_t byte_offset, size_t byte_length);
447 447
448 // TODO(aandrey): Maybe these should take table, index and kind arguments.
449 Handle<JSMapIterator> NewJSMapIterator();
450 Handle<JSSetIterator> NewJSSetIterator();
451
448 // Allocates a Harmony proxy. 452 // Allocates a Harmony proxy.
449 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); 453 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
450 454
451 // Allocates a Harmony function proxy. 455 // Allocates a Harmony function proxy.
452 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler, 456 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler,
453 Handle<Object> call_trap, 457 Handle<Object> call_trap,
454 Handle<Object> construct_trap, 458 Handle<Object> construct_trap,
455 Handle<Object> prototype); 459 Handle<Object> prototype);
456 460
457 // Reinitialize an JSGlobalProxy based on a constructor. The object 461 // Reinitialize an JSGlobalProxy based on a constructor. The object
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 // Reinitialize a JSProxy into an (empty) JS object of respective type and 722 // Reinitialize a JSProxy into an (empty) JS object of respective type and
719 // size, but keeping the original prototype. The receiver must have at least 723 // size, but keeping the original prototype. The receiver must have at least
720 // the size of the new object. The object is reinitialized and behaves as an 724 // the size of the new object. The object is reinitialized and behaves as an
721 // object that has been freshly allocated. 725 // object that has been freshly allocated.
722 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 726 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
723 }; 727 };
724 728
725 } } // namespace v8::internal 729 } } // namespace v8::internal
726 730
727 #endif // V8_FACTORY_H_ 731 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698