OLD | NEW |
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/interpreter/bytecodes.h" | 5 #include "src/interpreter/bytecodes.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/interpreter/bytecode-traits.h" | 10 #include "src/interpreter/bytecode-traits.h" |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 case Bytecode::kLdaConstant: | 213 case Bytecode::kLdaConstant: |
214 case Bytecode::kAdd: | 214 case Bytecode::kAdd: |
215 case Bytecode::kSub: | 215 case Bytecode::kSub: |
216 case Bytecode::kMul: | 216 case Bytecode::kMul: |
217 case Bytecode::kAddSmi: | 217 case Bytecode::kAddSmi: |
218 case Bytecode::kSubSmi: | 218 case Bytecode::kSubSmi: |
219 case Bytecode::kInc: | 219 case Bytecode::kInc: |
220 case Bytecode::kDec: | 220 case Bytecode::kDec: |
221 case Bytecode::kTypeOf: | 221 case Bytecode::kTypeOf: |
222 case Bytecode::kCall: | 222 case Bytecode::kCall: |
| 223 case Bytecode::kCallProperty: |
223 case Bytecode::kNew: | 224 case Bytecode::kNew: |
224 return true; | 225 return true; |
225 default: | 226 default: |
226 return false; | 227 return false; |
227 } | 228 } |
228 } | 229 } |
229 return false; | 230 return false; |
230 } | 231 } |
231 | 232 |
232 // static | 233 // static |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 Bytecodes::IsBytecodeWithScalableOperands(bytecode); | 283 Bytecodes::IsBytecodeWithScalableOperands(bytecode); |
283 } | 284 } |
284 | 285 |
285 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { | 286 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { |
286 return os << Bytecodes::ToString(bytecode); | 287 return os << Bytecodes::ToString(bytecode); |
287 } | 288 } |
288 | 289 |
289 } // namespace interpreter | 290 } // namespace interpreter |
290 } // namespace internal | 291 } // namespace internal |
291 } // namespace v8 | 292 } // namespace v8 |
OLD | NEW |