| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); | 1043 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); |
| 1044 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); | 1044 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); |
| 1045 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); | 1045 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); |
| 1046 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 1046 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); |
| 1047 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); | 1047 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); |
| 1048 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); | 1048 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); |
| 1049 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 1049 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); |
| 1050 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 1050 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); |
| 1051 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 1051 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", |
| 1052 configure_instance_fun); | 1052 configure_instance_fun); |
| 1053 INSTALL_NATIVE(JSFunction, "MakeMessage", make_message_fun); | |
| 1054 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1053 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); |
| 1055 INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1054 INSTALL_NATIVE(JSObject, "functionCache", function_cache); |
| 1056 } | 1055 } |
| 1057 | 1056 |
| 1058 #undef INSTALL_NATIVE | 1057 #undef INSTALL_NATIVE |
| 1059 | 1058 |
| 1060 | 1059 |
| 1061 bool Genesis::InstallNatives() { | 1060 bool Genesis::InstallNatives() { |
| 1062 HandleScope scope; | 1061 HandleScope scope; |
| 1063 | 1062 |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1881 } | 1880 } |
| 1882 | 1881 |
| 1883 | 1882 |
| 1884 // Restore statics that are thread local. | 1883 // Restore statics that are thread local. |
| 1885 char* BootstrapperActive::RestoreState(char* from) { | 1884 char* BootstrapperActive::RestoreState(char* from) { |
| 1886 nesting_ = *reinterpret_cast<int*>(from); | 1885 nesting_ = *reinterpret_cast<int*>(from); |
| 1887 return from + sizeof(nesting_); | 1886 return from + sizeof(nesting_); |
| 1888 } | 1887 } |
| 1889 | 1888 |
| 1890 } } // namespace v8::internal | 1889 } } // namespace v8::internal |
| OLD | NEW |