Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: src/bootstrapper.cc

Issue 523051: Make the ResolvePossiblyDirectEval faster by avoiding the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/contexts.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698