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

Side by Side Diff: src/hydrogen.h

Issue 136403005: Remove CALL_AS_FUNCTION and CALL_AS_METHOD. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Don't store/restore ecx/rcx/r5 given that it doesn't contain callkind anymore Created 6 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/ast.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 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 2180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2191 void EnsureArgumentsArePushedForAccess(); 2191 void EnsureArgumentsArePushedForAccess();
2192 bool TryArgumentsAccess(Property* expr); 2192 bool TryArgumentsAccess(Property* expr);
2193 2193
2194 // Try to optimize fun.apply(receiver, arguments) pattern. 2194 // Try to optimize fun.apply(receiver, arguments) pattern.
2195 bool TryCallApply(Call* expr); 2195 bool TryCallApply(Call* expr);
2196 2196
2197 HValue* ImplicitReceiverFor(HValue* function, 2197 HValue* ImplicitReceiverFor(HValue* function,
2198 Handle<JSFunction> target); 2198 Handle<JSFunction> target);
2199 2199
2200 int InliningAstSize(Handle<JSFunction> target); 2200 int InliningAstSize(Handle<JSFunction> target);
2201 bool TryInline(CallKind call_kind, 2201 bool TryInline(Handle<JSFunction> target,
2202 Handle<JSFunction> target,
2203 int arguments_count, 2202 int arguments_count,
2204 HValue* implicit_return_value, 2203 HValue* implicit_return_value,
2205 BailoutId ast_id, 2204 BailoutId ast_id,
2206 BailoutId return_id, 2205 BailoutId return_id,
2207 InliningKind inlining_kind); 2206 InliningKind inlining_kind);
2208 2207
2209 bool TryInlineCall(Call* expr, bool drop_extra = false); 2208 bool TryInlineCall(Call* expr, bool drop_extra = false);
2210 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); 2209 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value);
2211 bool TryInlineGetter(Handle<JSFunction> getter, 2210 bool TryInlineGetter(Handle<JSFunction> getter,
2212 BailoutId ast_id, 2211 BailoutId ast_id,
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
2681 } 2680 }
2682 2681
2683 private: 2682 private:
2684 HGraphBuilder* builder_; 2683 HGraphBuilder* builder_;
2685 }; 2684 };
2686 2685
2687 2686
2688 } } // namespace v8::internal 2687 } } // namespace v8::internal
2689 2688
2690 #endif // V8_HYDROGEN_H_ 2689 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698