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

Side by Side Diff: src/hydrogen.h

Issue 962593005: CpuProfiler: do not calculate positions if it is not necessary (TryInline part). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: unnecessary change was removed Created 5 years, 9 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
« no previous file with comments | « src/compiler.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after
2312 HValue* search_element, 2312 HValue* search_element,
2313 ElementsKind kind, 2313 ElementsKind kind,
2314 ArrayIndexOfMode mode); 2314 ArrayIndexOfMode mode);
2315 2315
2316 HValue* ImplicitReceiverFor(HValue* function, 2316 HValue* ImplicitReceiverFor(HValue* function,
2317 Handle<JSFunction> target); 2317 Handle<JSFunction> target);
2318 2318
2319 int InliningAstSize(Handle<JSFunction> target); 2319 int InliningAstSize(Handle<JSFunction> target);
2320 bool TryInline(Handle<JSFunction> target, int arguments_count, 2320 bool TryInline(Handle<JSFunction> target, int arguments_count,
2321 HValue* implicit_return_value, BailoutId ast_id, 2321 HValue* implicit_return_value, BailoutId ast_id,
2322 BailoutId return_id, InliningKind inlining_kind, 2322 BailoutId return_id, InliningKind inlining_kind);
2323 SourcePosition position);
2324 2323
2325 bool TryInlineCall(Call* expr); 2324 bool TryInlineCall(Call* expr);
2326 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); 2325 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value);
2327 bool TryInlineGetter(Handle<JSFunction> getter, 2326 bool TryInlineGetter(Handle<JSFunction> getter,
2328 Handle<Map> receiver_map, 2327 Handle<Map> receiver_map,
2329 BailoutId ast_id, 2328 BailoutId ast_id,
2330 BailoutId return_id); 2329 BailoutId return_id);
2331 bool TryInlineSetter(Handle<JSFunction> setter, 2330 bool TryInlineSetter(Handle<JSFunction> setter,
2332 Handle<Map> receiver_map, 2331 Handle<Map> receiver_map,
2333 BailoutId id, 2332 BailoutId id,
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
2964 } 2963 }
2965 2964
2966 private: 2965 private:
2967 HGraphBuilder* builder_; 2966 HGraphBuilder* builder_;
2968 }; 2967 };
2969 2968
2970 2969
2971 } } // namespace v8::internal 2970 } } // namespace v8::internal
2972 2971
2973 #endif // V8_HYDROGEN_H_ 2972 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698