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

Side by Side Diff: src/factory.h

Issue 236143002: ES6: Add support for Map.prototype.forEach and Set.prototype.forEach (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test that calls gc() Created 6 years, 8 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
« 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 "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name, 478 Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name,
479 InstanceType type, 479 InstanceType type,
480 int instance_size, 480 int instance_size,
481 Handle<JSObject> prototype, 481 Handle<JSObject> prototype,
482 Handle<Code> code, 482 Handle<Code> code,
483 bool force_initial_map); 483 bool force_initial_map);
484 484
485 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, 485 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
486 Handle<Code> code); 486 Handle<Code> code);
487 487
488 Handle<JSObject> NewIteratorResultObject(Handle<Object> value, bool done);
489
488 Handle<String> NumberToString(Handle<Object> number); 490 Handle<String> NumberToString(Handle<Object> number);
489 Handle<String> Uint32ToString(uint32_t value); 491 Handle<String> Uint32ToString(uint32_t value);
490 492
491 enum ApiInstanceType { 493 enum ApiInstanceType {
492 JavaScriptObject, 494 JavaScriptObject,
493 InnerGlobalObject, 495 InnerGlobalObject,
494 OuterGlobalObject 496 OuterGlobalObject
495 }; 497 };
496 498
497 Handle<JSFunction> CreateApiFunction( 499 Handle<JSFunction> CreateApiFunction(
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 610
609 // Update the map cache in the native context with (keys, map) 611 // Update the map cache in the native context with (keys, map)
610 Handle<MapCache> AddToMapCache(Handle<Context> context, 612 Handle<MapCache> AddToMapCache(Handle<Context> context,
611 Handle<FixedArray> keys, 613 Handle<FixedArray> keys,
612 Handle<Map> map); 614 Handle<Map> map);
613 }; 615 };
614 616
615 } } // namespace v8::internal 617 } } // namespace v8::internal
616 618
617 #endif // V8_FACTORY_H_ 619 #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