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

Side by Side Diff: src/factory.h

Issue 238973011: Revert "ES6: Add support for Map/Set forEach" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 Handle<Object> NewSyntaxError(Handle<String> message); 497 Handle<Object> NewSyntaxError(Handle<String> message);
498 498
499 Handle<Object> NewReferenceError(const char* message, 499 Handle<Object> NewReferenceError(const char* message,
500 Vector< Handle<Object> > args); 500 Vector< Handle<Object> > args);
501 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); 501 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args);
502 Handle<Object> NewReferenceError(Handle<String> message); 502 Handle<Object> NewReferenceError(Handle<String> message);
503 503
504 Handle<Object> NewEvalError(const char* message, 504 Handle<Object> NewEvalError(const char* message,
505 Vector< Handle<Object> > args); 505 Vector< Handle<Object> > args);
506 506
507 Handle<JSObject> NewIteratorResultObject(Handle<Object> value, bool done);
508
509 Handle<String> NumberToString(Handle<Object> number, 507 Handle<String> NumberToString(Handle<Object> number,
510 bool check_number_string_cache = true); 508 bool check_number_string_cache = true);
511 509
512 Handle<String> Uint32ToString(uint32_t value) { 510 Handle<String> Uint32ToString(uint32_t value) {
513 return NumberToString(NewNumberFromUint(value)); 511 return NumberToString(NewNumberFromUint(value));
514 } 512 }
515 513
516 enum ApiInstanceType { 514 enum ApiInstanceType {
517 JavaScriptObject, 515 JavaScriptObject,
518 InnerGlobalObject, 516 InnerGlobalObject,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 // the string representation of the number. Otherwise return undefined. 659 // the string representation of the number. Otherwise return undefined.
662 Handle<Object> GetNumberStringCache(Handle<Object> number); 660 Handle<Object> GetNumberStringCache(Handle<Object> number);
663 661
664 // Update the cache with a new number-string pair. 662 // Update the cache with a new number-string pair.
665 void SetNumberStringCache(Handle<Object> number, Handle<String> string); 663 void SetNumberStringCache(Handle<Object> number, Handle<String> string);
666 }; 664 };
667 665
668 } } // namespace v8::internal 666 } } // namespace v8::internal
669 667
670 #endif // V8_FACTORY_H_ 668 #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