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

Side by Side Diff: src/factory.h

Issue 240323003: ES6: Add support for Map/Set forEach (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Explicit instantiate the functions instead 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 Handle<Object> NewSyntaxError(Handle<String> message); 491 Handle<Object> NewSyntaxError(Handle<String> message);
492 492
493 Handle<Object> NewReferenceError(const char* message, 493 Handle<Object> NewReferenceError(const char* message,
494 Vector< Handle<Object> > args); 494 Vector< Handle<Object> > args);
495 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); 495 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args);
496 Handle<Object> NewReferenceError(Handle<String> message); 496 Handle<Object> NewReferenceError(Handle<String> message);
497 497
498 Handle<Object> NewEvalError(const char* message, 498 Handle<Object> NewEvalError(const char* message,
499 Vector< Handle<Object> > args); 499 Vector< Handle<Object> > args);
500 500
501 Handle<JSObject> NewIteratorResultObject(Handle<Object> value, bool done);
502
501 Handle<String> NumberToString(Handle<Object> number, 503 Handle<String> NumberToString(Handle<Object> number,
502 bool check_number_string_cache = true); 504 bool check_number_string_cache = true);
503 Handle<String> Uint32ToString(uint32_t value); 505 Handle<String> Uint32ToString(uint32_t value);
504 506
505 enum ApiInstanceType { 507 enum ApiInstanceType {
506 JavaScriptObject, 508 JavaScriptObject,
507 InnerGlobalObject, 509 InnerGlobalObject,
508 OuterGlobalObject 510 OuterGlobalObject
509 }; 511 };
510 512
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 645
644 // Update the map cache in the native context with (keys, map) 646 // Update the map cache in the native context with (keys, map)
645 Handle<MapCache> AddToMapCache(Handle<Context> context, 647 Handle<MapCache> AddToMapCache(Handle<Context> context,
646 Handle<FixedArray> keys, 648 Handle<FixedArray> keys,
647 Handle<Map> map); 649 Handle<Map> map);
648 }; 650 };
649 651
650 } } // namespace v8::internal 652 } } // namespace v8::internal
651 653
652 #endif // V8_FACTORY_H_ 654 #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