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

Side by Side Diff: src/hydrogen.h

Issue 961283002: CpuProfiler: do not calculate positions if it is not necessary (BuildCompareInstruction part). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen-instructions.h » ('J')
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 2623 matching lines...) Expand 10 before | Expand all | Expand 10 after
2634 Expression* sub_expr, 2634 Expression* sub_expr,
2635 NilValue nil); 2635 NilValue nil);
2636 2636
2637 enum PushBeforeSimulateBehavior { 2637 enum PushBeforeSimulateBehavior {
2638 PUSH_BEFORE_SIMULATE, 2638 PUSH_BEFORE_SIMULATE,
2639 NO_PUSH_BEFORE_SIMULATE 2639 NO_PUSH_BEFORE_SIMULATE
2640 }; 2640 };
2641 2641
2642 HControlInstruction* BuildCompareInstruction( 2642 HControlInstruction* BuildCompareInstruction(
2643 Token::Value op, HValue* left, HValue* right, Type* left_type, 2643 Token::Value op, HValue* left, HValue* right, Type* left_type,
2644 Type* right_type, Type* combined_type, SourcePosition left_position, 2644 Type* right_type, Type* combined_type,
2645 SourcePosition right_position, PushBeforeSimulateBehavior push_sim_result, 2645 PushBeforeSimulateBehavior push_sim_result, BailoutId bailout_id);
2646 BailoutId bailout_id);
2647 2646
2648 HInstruction* BuildStringCharCodeAt(HValue* string, 2647 HInstruction* BuildStringCharCodeAt(HValue* string,
2649 HValue* index); 2648 HValue* index);
2650 2649
2651 HValue* BuildBinaryOperation( 2650 HValue* BuildBinaryOperation(
2652 BinaryOperation* expr, 2651 BinaryOperation* expr,
2653 HValue* left, 2652 HValue* left,
2654 HValue* right, 2653 HValue* right,
2655 PushBeforeSimulateBehavior push_sim_result); 2654 PushBeforeSimulateBehavior push_sim_result);
2656 HInstruction* BuildIncrement(bool returns_original_input, 2655 HInstruction* BuildIncrement(bool returns_original_input,
(...skipping 307 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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698