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

Side by Side Diff: src/compiler/frame-states.cc

Issue 2198473002: [turbofan] Add support for accessor inlining. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_CheckMaps
Patch Set: Fixes Created 4 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
« no previous file with comments | « src/compiler/frame-states.h ('k') | src/compiler/js-native-context-specialization.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/frame-states.h" 5 #include "src/compiler/frame-states.h"
6 6
7 #include "src/base/functional.h" 7 #include "src/base/functional.h"
8 #include "src/handles-inl.h" 8 #include "src/handles-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 break; 57 break;
58 case FrameStateType::kArgumentsAdaptor: 58 case FrameStateType::kArgumentsAdaptor:
59 os << "ARGUMENTS_ADAPTOR"; 59 os << "ARGUMENTS_ADAPTOR";
60 break; 60 break;
61 case FrameStateType::kTailCallerFunction: 61 case FrameStateType::kTailCallerFunction:
62 os << "TAIL_CALLER_FRAME"; 62 os << "TAIL_CALLER_FRAME";
63 break; 63 break;
64 case FrameStateType::kConstructStub: 64 case FrameStateType::kConstructStub:
65 os << "CONSTRUCT_STUB"; 65 os << "CONSTRUCT_STUB";
66 break; 66 break;
67 case FrameStateType::kGetterStub:
68 os << "GETTER_STUB";
69 break;
70 case FrameStateType::kSetterStub:
71 os << "SETTER_STUB";
72 break;
67 } 73 }
68 return os; 74 return os;
69 } 75 }
70 76
71 77
72 std::ostream& operator<<(std::ostream& os, FrameStateInfo const& info) { 78 std::ostream& operator<<(std::ostream& os, FrameStateInfo const& info) {
73 os << info.type() << ", " << info.bailout_id() << ", " 79 os << info.type() << ", " << info.bailout_id() << ", "
74 << info.state_combine(); 80 << info.state_combine();
75 Handle<SharedFunctionInfo> shared_info; 81 Handle<SharedFunctionInfo> shared_info;
76 if (info.shared_info().ToHandle(&shared_info)) { 82 if (info.shared_info().ToHandle(&shared_info)) {
77 os << ", " << Brief(*shared_info); 83 os << ", " << Brief(*shared_info);
78 } 84 }
79 return os; 85 return os;
80 } 86 }
81 87
82 } // namespace compiler 88 } // namespace compiler
83 } // namespace internal 89 } // namespace internal
84 } // namespace v8 90 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/frame-states.h ('k') | src/compiler/js-native-context-specialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698