| 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 Handle<Object> NewSyntaxError(Handle<String> message); | 485 Handle<Object> NewSyntaxError(Handle<String> message); |
| 486 | 486 |
| 487 Handle<Object> NewReferenceError(const char* message, | 487 Handle<Object> NewReferenceError(const char* message, |
| 488 Vector< Handle<Object> > args); | 488 Vector< Handle<Object> > args); |
| 489 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); | 489 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); |
| 490 Handle<Object> NewReferenceError(Handle<String> message); | 490 Handle<Object> NewReferenceError(Handle<String> message); |
| 491 | 491 |
| 492 Handle<Object> NewEvalError(const char* message, | 492 Handle<Object> NewEvalError(const char* message, |
| 493 Vector< Handle<Object> > args); | 493 Vector< Handle<Object> > args); |
| 494 | 494 |
| 495 Handle<JSObject> NewIteratorResultObject(Handle<Object> value, bool done); | |
| 496 | |
| 497 Handle<String> NumberToString(Handle<Object> number, | 495 Handle<String> NumberToString(Handle<Object> number, |
| 498 bool check_number_string_cache = true); | 496 bool check_number_string_cache = true); |
| 499 Handle<String> Uint32ToString(uint32_t value); | 497 Handle<String> Uint32ToString(uint32_t value); |
| 500 | 498 |
| 501 enum ApiInstanceType { | 499 enum ApiInstanceType { |
| 502 JavaScriptObject, | 500 JavaScriptObject, |
| 503 InnerGlobalObject, | 501 InnerGlobalObject, |
| 504 OuterGlobalObject | 502 OuterGlobalObject |
| 505 }; | 503 }; |
| 506 | 504 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 | 635 |
| 638 // Update the map cache in the native context with (keys, map) | 636 // Update the map cache in the native context with (keys, map) |
| 639 Handle<MapCache> AddToMapCache(Handle<Context> context, | 637 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 640 Handle<FixedArray> keys, | 638 Handle<FixedArray> keys, |
| 641 Handle<Map> map); | 639 Handle<Map> map); |
| 642 }; | 640 }; |
| 643 | 641 |
| 644 } } // namespace v8::internal | 642 } } // namespace v8::internal |
| 645 | 643 |
| 646 #endif // V8_FACTORY_H_ | 644 #endif // V8_FACTORY_H_ |
| OLD | NEW |