| 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 Handle<Object> arg0 = Handle<Object>(), \ | 641 Handle<Object> arg0 = Handle<Object>(), \ |
| 642 Handle<Object> arg1 = Handle<Object>(), \ | 642 Handle<Object> arg1 = Handle<Object>(), \ |
| 643 Handle<Object> arg2 = Handle<Object>()); | 643 Handle<Object> arg2 = Handle<Object>()); |
| 644 DECLARE_ERROR(Error) | 644 DECLARE_ERROR(Error) |
| 645 DECLARE_ERROR(EvalError) | 645 DECLARE_ERROR(EvalError) |
| 646 DECLARE_ERROR(RangeError) | 646 DECLARE_ERROR(RangeError) |
| 647 DECLARE_ERROR(ReferenceError) | 647 DECLARE_ERROR(ReferenceError) |
| 648 DECLARE_ERROR(SyntaxError) | 648 DECLARE_ERROR(SyntaxError) |
| 649 DECLARE_ERROR(TypeError) | 649 DECLARE_ERROR(TypeError) |
| 650 DECLARE_ERROR(WasmCompileError) | 650 DECLARE_ERROR(WasmCompileError) |
| 651 DECLARE_ERROR(WasmLinkError) |
| 651 DECLARE_ERROR(WasmRuntimeError) | 652 DECLARE_ERROR(WasmRuntimeError) |
| 652 #undef DECLARE_ERROR | 653 #undef DECLARE_ERROR |
| 653 | 654 |
| 654 Handle<String> NumberToString(Handle<Object> number, | 655 Handle<String> NumberToString(Handle<Object> number, |
| 655 bool check_number_string_cache = true); | 656 bool check_number_string_cache = true); |
| 656 | 657 |
| 657 Handle<String> Uint32ToString(uint32_t value) { | 658 Handle<String> Uint32ToString(uint32_t value) { |
| 658 return NumberToString(NewNumberFromUint(value)); | 659 return NumberToString(NewNumberFromUint(value)); |
| 659 } | 660 } |
| 660 | 661 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 807 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
| 807 FunctionMode function_mode); | 808 FunctionMode function_mode); |
| 808 | 809 |
| 809 void SetClassFunctionInstanceDescriptor(Handle<Map> map); | 810 void SetClassFunctionInstanceDescriptor(Handle<Map> map); |
| 810 }; | 811 }; |
| 811 | 812 |
| 812 } // namespace internal | 813 } // namespace internal |
| 813 } // namespace v8 | 814 } // namespace v8 |
| 814 | 815 |
| 815 #endif // V8_FACTORY_H_ | 816 #endif // V8_FACTORY_H_ |
| OLD | NEW |