| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |