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

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

Issue 595863002: Adding more missing deoptimization points in Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 2 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/linkage.cc ('k') | src/ia32/full-codegen-ia32.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 case IrOpcode::kJSStrictEqual: 48 case IrOpcode::kJSStrictEqual:
49 case IrOpcode::kJSStrictNotEqual: 49 case IrOpcode::kJSStrictNotEqual:
50 return false; 50 return false;
51 51
52 // Calls 52 // Calls
53 case IrOpcode::kJSCallFunction: 53 case IrOpcode::kJSCallFunction:
54 case IrOpcode::kJSCallConstruct: 54 case IrOpcode::kJSCallConstruct:
55 55
56 // Compare operations 56 // Compare operations
57 case IrOpcode::kJSEqual: 57 case IrOpcode::kJSEqual:
58 case IrOpcode::kJSGreaterThan:
59 case IrOpcode::kJSGreaterThanOrEqual:
60 case IrOpcode::kJSHasProperty:
61 case IrOpcode::kJSInstanceOf:
62 case IrOpcode::kJSLessThan:
63 case IrOpcode::kJSLessThanOrEqual:
58 case IrOpcode::kJSNotEqual: 64 case IrOpcode::kJSNotEqual:
59 case IrOpcode::kJSLessThan:
60 case IrOpcode::kJSGreaterThan:
61 case IrOpcode::kJSLessThanOrEqual:
62 case IrOpcode::kJSGreaterThanOrEqual:
63 65
64 // Binary operations 66 // Binary operations
67 case IrOpcode::kJSAdd:
68 case IrOpcode::kJSBitwiseAnd:
65 case IrOpcode::kJSBitwiseOr: 69 case IrOpcode::kJSBitwiseOr:
66 case IrOpcode::kJSBitwiseXor: 70 case IrOpcode::kJSBitwiseXor:
67 case IrOpcode::kJSBitwiseAnd: 71 case IrOpcode::kJSDivide:
72 case IrOpcode::kJSLoadNamed:
73 case IrOpcode::kJSLoadProperty:
74 case IrOpcode::kJSModulus:
75 case IrOpcode::kJSMultiply:
68 case IrOpcode::kJSShiftLeft: 76 case IrOpcode::kJSShiftLeft:
69 case IrOpcode::kJSShiftRight: 77 case IrOpcode::kJSShiftRight:
70 case IrOpcode::kJSShiftRightLogical: 78 case IrOpcode::kJSShiftRightLogical:
71 case IrOpcode::kJSAdd: 79 case IrOpcode::kJSStoreNamed:
80 case IrOpcode::kJSStoreProperty:
72 case IrOpcode::kJSSubtract: 81 case IrOpcode::kJSSubtract:
73 case IrOpcode::kJSMultiply: 82
74 case IrOpcode::kJSDivide: 83 // Other
75 case IrOpcode::kJSModulus: 84 case IrOpcode::kJSDeleteProperty:
76 case IrOpcode::kJSLoadProperty:
77 case IrOpcode::kJSStoreProperty:
78 case IrOpcode::kJSLoadNamed:
79 case IrOpcode::kJSStoreNamed:
80 return true; 85 return true;
81 86
82 default: 87 default:
83 return false; 88 return false;
84 } 89 }
85 } 90 }
86 91
87 inline int OperatorProperties::GetValueInputCount(const Operator* op) { 92 inline int OperatorProperties::GetValueInputCount(const Operator* op) {
88 return op->InputCount(); 93 return op->InputCount();
89 } 94 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 179 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
175 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 180 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
176 opcode == IrOpcode::kIfFalse; 181 opcode == IrOpcode::kIfFalse;
177 } 182 }
178 183
179 } // namespace compiler 184 } // namespace compiler
180 } // namespace internal 185 } // namespace internal
181 } // namespace v8 186 } // namespace v8
182 187
183 #endif // V8_COMPILER_OPERATOR_PROPERTIES_INL_H_ 188 #endif // V8_COMPILER_OPERATOR_PROPERTIES_INL_H_
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698