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

Side by Side Diff: src/compiler/operator-properties-inl.h

Issue 498493002: Couple more debugger tests working with Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/deoptimizer.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_OPERATOR_PROPERTIES_INL_H_ 5 #ifndef V8_COMPILER_OPERATOR_PROPERTIES_INL_H_
6 #define V8_COMPILER_OPERATOR_PROPERTIES_INL_H_ 6 #define V8_COMPILER_OPERATOR_PROPERTIES_INL_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/js-operator.h" 9 #include "src/compiler/js-operator.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 29 matching lines...) Expand all
40 case IrOpcode::kJSCallFunction: 40 case IrOpcode::kJSCallFunction:
41 return true; 41 return true;
42 case IrOpcode::kJSCallRuntime: { 42 case IrOpcode::kJSCallRuntime: {
43 Runtime::FunctionId function = 43 Runtime::FunctionId function =
44 reinterpret_cast<Operator1<Runtime::FunctionId>*>(op)->parameter(); 44 reinterpret_cast<Operator1<Runtime::FunctionId>*>(op)->parameter();
45 // TODO(jarin) At the moment, we only add frame state for 45 // TODO(jarin) At the moment, we only add frame state for
46 // few chosen runtime functions. 46 // few chosen runtime functions.
47 switch (function) { 47 switch (function) {
48 case Runtime::kDebugBreak: 48 case Runtime::kDebugBreak:
49 case Runtime::kDeoptimizeFunction: 49 case Runtime::kDeoptimizeFunction:
50 case Runtime::kSetScriptBreakPoint:
51 case Runtime::kDebugGetLoadedScripts:
52 case Runtime::kStackGuard:
50 return true; 53 return true;
51 default: 54 default:
52 return false; 55 return false;
53 } 56 }
54 UNREACHABLE(); 57 UNREACHABLE();
55 } 58 }
56 59
57 default: 60 default:
58 return false; 61 return false;
59 } 62 }
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 return descriptor->CanLazilyDeoptimize(); 174 return descriptor->CanLazilyDeoptimize();
172 } 175 }
173 case IrOpcode::kJSCallRuntime: { 176 case IrOpcode::kJSCallRuntime: {
174 Runtime::FunctionId function = 177 Runtime::FunctionId function =
175 reinterpret_cast<Operator1<Runtime::FunctionId>*>(op)->parameter(); 178 reinterpret_cast<Operator1<Runtime::FunctionId>*>(op)->parameter();
176 // TODO(jarin) At the moment, we only support lazy deoptimization for 179 // TODO(jarin) At the moment, we only support lazy deoptimization for
177 // a few chosen runtime functions. 180 // a few chosen runtime functions.
178 switch (function) { 181 switch (function) {
179 case Runtime::kDebugBreak: 182 case Runtime::kDebugBreak:
180 case Runtime::kDeoptimizeFunction: 183 case Runtime::kDeoptimizeFunction:
184 case Runtime::kSetScriptBreakPoint:
185 case Runtime::kDebugGetLoadedScripts:
186 case Runtime::kStackGuard:
181 return true; 187 return true;
182 default: 188 default:
183 return false; 189 return false;
184 } 190 }
185 UNREACHABLE(); 191 UNREACHABLE();
186 } 192 }
187 193
188 // JS function calls 194 // JS function calls
189 case IrOpcode::kJSCallFunction: 195 case IrOpcode::kJSCallFunction:
190 case IrOpcode::kJSCallConstruct: 196 case IrOpcode::kJSCallConstruct:
(...skipping 19 matching lines...) Expand all
210 default: 216 default:
211 return false; 217 return false;
212 } 218 }
213 return false; 219 return false;
214 } 220 }
215 } 221 }
216 } 222 }
217 } // namespace v8::internal::compiler 223 } // namespace v8::internal::compiler
218 224
219 #endif // V8_COMPILER_OPERATOR_PROPERTIES_INL_H_ 225 #endif // V8_COMPILER_OPERATOR_PROPERTIES_INL_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698