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

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

Issue 1485183002: [turbofan] Deopt support for escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@ea-local
Patch Set: Improve Unittest and guard printf behind --trace-turbo-escape Created 4 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
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"
6
5 #include "src/base/functional.h" 7 #include "src/base/functional.h"
6 #include "src/compiler/frame-states.h"
7 #include "src/handles-inl.h" 8 #include "src/handles-inl.h"
8 9
9 namespace v8 { 10 namespace v8 {
10 namespace internal { 11 namespace internal {
11 namespace compiler { 12 namespace compiler {
12 13
13 size_t hash_value(OutputFrameStateCombine const& sc) { 14 size_t hash_value(OutputFrameStateCombine const& sc) {
14 return base::hash_combine(sc.kind_, sc.parameter_); 15 return base::hash_combine(sc.kind_, sc.parameter_);
15 } 16 }
16 17
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 Handle<SharedFunctionInfo> shared_info; 72 Handle<SharedFunctionInfo> shared_info;
72 if (info.shared_info().ToHandle(&shared_info)) { 73 if (info.shared_info().ToHandle(&shared_info)) {
73 os << ", " << Brief(*shared_info); 74 os << ", " << Brief(*shared_info);
74 } 75 }
75 return os; 76 return os;
76 } 77 }
77 78
78 } // namespace compiler 79 } // namespace compiler
79 } // namespace internal 80 } // namespace internal
80 } // namespace v8 81 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698