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

Side by Side Diff: src/hydrogen.h

Issue 9365013: Inline builtin Math functions functions in more cases. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 8 years, 10 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 | « no previous file | src/hydrogen.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 GlobalPropertyAccess LookupGlobalProperty(Variable* var, 911 GlobalPropertyAccess LookupGlobalProperty(Variable* var,
912 LookupResult* lookup, 912 LookupResult* lookup,
913 bool is_store); 913 bool is_store);
914 914
915 bool TryArgumentsAccess(Property* expr); 915 bool TryArgumentsAccess(Property* expr);
916 916
917 // Try to optimize fun.apply(receiver, arguments) pattern. 917 // Try to optimize fun.apply(receiver, arguments) pattern.
918 bool TryCallApply(Call* expr); 918 bool TryCallApply(Call* expr);
919 919
920 bool TryInline(Call* expr, bool drop_extra = false); 920 bool TryInline(Call* expr, bool drop_extra = false);
921 bool TryInlineBuiltinFunction(Call* expr, 921 bool TryInlineBuiltinMethodCall(Call* expr,
922 HValue* receiver, 922 HValue* receiver,
923 Handle<Map> receiver_map, 923 Handle<Map> receiver_map,
924 CheckType check_type); 924 CheckType check_type);
925 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra);
925 926
926 // If --trace-inlining, print a line of the inlining trace. Inlining 927 // If --trace-inlining, print a line of the inlining trace. Inlining
927 // succeeded if the reason string is NULL and failed if there is a 928 // succeeded if the reason string is NULL and failed if there is a
928 // non-NULL reason string. 929 // non-NULL reason string.
929 void TraceInline(Handle<JSFunction> target, 930 void TraceInline(Handle<JSFunction> target,
930 Handle<JSFunction> caller, 931 Handle<JSFunction> caller,
931 const char* failure_reason); 932 const char* failure_reason);
932 933
933 void HandleGlobalVariableAssignment(Variable* var, 934 void HandleGlobalVariableAssignment(Variable* var,
934 HValue* value, 935 HValue* value,
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 const char* filename_; 1276 const char* filename_;
1276 HeapStringAllocator string_allocator_; 1277 HeapStringAllocator string_allocator_;
1277 StringStream trace_; 1278 StringStream trace_;
1278 int indent_; 1279 int indent_;
1279 }; 1280 };
1280 1281
1281 1282
1282 } } // namespace v8::internal 1283 } } // namespace v8::internal
1283 1284
1284 #endif // V8_HYDROGEN_H_ 1285 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698