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

Side by Side Diff: src/compiler/operator.cc

Issue 2093013002: [turbolizer] Show a label with a shorter parameter for some opcodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merge with master Created 4 years, 5 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/operator.h ('k') | src/compiler/simplified-operator.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/operator.h" 5 #include "src/compiler/operator.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 26 matching lines...) Expand all
37 value_out_(CheckRange<uint16_t>(value_out)), 37 value_out_(CheckRange<uint16_t>(value_out)),
38 effect_out_(CheckRange<uint8_t>(effect_out)), 38 effect_out_(CheckRange<uint8_t>(effect_out)),
39 control_out_(CheckRange<uint16_t>(control_out)) {} 39 control_out_(CheckRange<uint16_t>(control_out)) {}
40 40
41 41
42 std::ostream& operator<<(std::ostream& os, const Operator& op) { 42 std::ostream& operator<<(std::ostream& os, const Operator& op) {
43 op.PrintTo(os); 43 op.PrintTo(os);
44 return os; 44 return os;
45 } 45 }
46 46
47 47 void Operator::PrintToImpl(std::ostream& os, PrintVerbosity verbose) const {
48 void Operator::PrintTo(std::ostream& os) const { os << mnemonic(); } 48 os << mnemonic();
49 }
49 50
50 } // namespace compiler 51 } // namespace compiler
51 } // namespace internal 52 } // namespace internal
52 } // namespace v8 53 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/operator.h ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698