| 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 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 HandleScope scope; | 985 HandleScope scope; |
| 986 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun); | 986 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun); |
| 987 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun); | 987 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun); |
| 988 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); | 988 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); |
| 989 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); | 989 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); |
| 990 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); | 990 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); |
| 991 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 991 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); |
| 992 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); | 992 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); |
| 993 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); | 993 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); |
| 994 INSTALL_NATIVE(JSFunction, "ToBoolean", to_boolean_fun); | 994 INSTALL_NATIVE(JSFunction, "ToBoolean", to_boolean_fun); |
| 995 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); |
| 995 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 996 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); |
| 996 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 997 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", |
| 997 configure_instance_fun); | 998 configure_instance_fun); |
| 998 INSTALL_NATIVE(JSFunction, "MakeMessage", make_message_fun); | 999 INSTALL_NATIVE(JSFunction, "MakeMessage", make_message_fun); |
| 999 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1000 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); |
| 1000 INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1001 INSTALL_NATIVE(JSObject, "functionCache", function_cache); |
| 1001 } | 1002 } |
| 1002 | 1003 |
| 1003 #undef INSTALL_NATIVE | 1004 #undef INSTALL_NATIVE |
| 1004 | 1005 |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1670 } | 1671 } |
| 1671 | 1672 |
| 1672 | 1673 |
| 1673 // Restore statics that are thread local. | 1674 // Restore statics that are thread local. |
| 1674 char* Genesis::RestoreState(char* from) { | 1675 char* Genesis::RestoreState(char* from) { |
| 1675 current_ = *reinterpret_cast<Genesis**>(from); | 1676 current_ = *reinterpret_cast<Genesis**>(from); |
| 1676 return from + sizeof(current_); | 1677 return from + sizeof(current_); |
| 1677 } | 1678 } |
| 1678 | 1679 |
| 1679 } } // namespace v8::internal | 1680 } } // namespace v8::internal |
| OLD | NEW |