| 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 "src/globals.h" | 8 #include "src/globals.h" |
| 9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
| 10 #include "src/messages.h" | 10 #include "src/messages.h" |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 Handle<Object> arg1 = Handle<Object>(), \ | 633 Handle<Object> arg1 = Handle<Object>(), \ |
| 634 Handle<Object> arg2 = Handle<Object>()); | 634 Handle<Object> arg2 = Handle<Object>()); |
| 635 DECLARE_ERROR(Error) | 635 DECLARE_ERROR(Error) |
| 636 DECLARE_ERROR(EvalError) | 636 DECLARE_ERROR(EvalError) |
| 637 DECLARE_ERROR(RangeError) | 637 DECLARE_ERROR(RangeError) |
| 638 DECLARE_ERROR(ReferenceError) | 638 DECLARE_ERROR(ReferenceError) |
| 639 DECLARE_ERROR(SyntaxError) | 639 DECLARE_ERROR(SyntaxError) |
| 640 DECLARE_ERROR(TypeError) | 640 DECLARE_ERROR(TypeError) |
| 641 DECLARE_ERROR(WasmCompileError) | 641 DECLARE_ERROR(WasmCompileError) |
| 642 DECLARE_ERROR(WasmRuntimeError) | 642 DECLARE_ERROR(WasmRuntimeError) |
| 643 #undef DEFINE_ERROR | 643 #undef DECLARE_ERROR |
| 644 | 644 |
| 645 Handle<String> NumberToString(Handle<Object> number, | 645 Handle<String> NumberToString(Handle<Object> number, |
| 646 bool check_number_string_cache = true); | 646 bool check_number_string_cache = true); |
| 647 | 647 |
| 648 Handle<String> Uint32ToString(uint32_t value) { | 648 Handle<String> Uint32ToString(uint32_t value) { |
| 649 return NumberToString(NewNumberFromUint(value)); | 649 return NumberToString(NewNumberFromUint(value)); |
| 650 } | 650 } |
| 651 | 651 |
| 652 Handle<JSFunction> InstallMembers(Handle<JSFunction> function); | 652 Handle<JSFunction> InstallMembers(Handle<JSFunction> function); |
| 653 | 653 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 FunctionMode function_mode); | 790 FunctionMode function_mode); |
| 791 | 791 |
| 792 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 792 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
| 793 FunctionMode function_mode); | 793 FunctionMode function_mode); |
| 794 }; | 794 }; |
| 795 | 795 |
| 796 } // namespace internal | 796 } // namespace internal |
| 797 } // namespace v8 | 797 } // namespace v8 |
| 798 | 798 |
| 799 #endif // V8_FACTORY_H_ | 799 #endif // V8_FACTORY_H_ |
| OLD | NEW |