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

Side by Side Diff: src/hydrogen.h

Issue 7618040: Version 3.5.5. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 4 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/heap.cc ('k') | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 // Helpers for flow graph construction. 867 // Helpers for flow graph construction.
868 enum GlobalPropertyAccess { 868 enum GlobalPropertyAccess {
869 kUseCell, 869 kUseCell,
870 kUseGeneric 870 kUseGeneric
871 }; 871 };
872 GlobalPropertyAccess LookupGlobalProperty(Variable* var, 872 GlobalPropertyAccess LookupGlobalProperty(Variable* var,
873 LookupResult* lookup, 873 LookupResult* lookup,
874 bool is_store); 874 bool is_store);
875 875
876 bool TryArgumentsAccess(Property* expr); 876 bool TryArgumentsAccess(Property* expr);
877
878 // Try to optimize fun.apply(receiver, arguments) pattern.
877 bool TryCallApply(Call* expr); 879 bool TryCallApply(Call* expr);
880
878 bool TryInline(Call* expr); 881 bool TryInline(Call* expr);
879 bool TryInlineBuiltinFunction(Call* expr, 882 bool TryInlineBuiltinFunction(Call* expr,
880 HValue* receiver, 883 HValue* receiver,
881 Handle<Map> receiver_map, 884 Handle<Map> receiver_map,
882 CheckType check_type); 885 CheckType check_type);
883 886
884 // If --trace-inlining, print a line of the inlining trace. Inlining 887 // If --trace-inlining, print a line of the inlining trace. Inlining
885 // succeeded if the reason string is NULL and failed if there is a 888 // succeeded if the reason string is NULL and failed if there is a
886 // non-NULL reason string. 889 // non-NULL reason string.
887 void TraceInline(Handle<JSFunction> target, 890 void TraceInline(Handle<JSFunction> target,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 const char* filename_; 1229 const char* filename_;
1227 HeapStringAllocator string_allocator_; 1230 HeapStringAllocator string_allocator_;
1228 StringStream trace_; 1231 StringStream trace_;
1229 int indent_; 1232 int indent_;
1230 }; 1233 };
1231 1234
1232 1235
1233 } } // namespace v8::internal 1236 } } // namespace v8::internal
1234 1237
1235 #endif // V8_HYDROGEN_H_ 1238 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698