| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/operator-properties.h" | 5 #include "src/compiler/operator-properties.h" |
| 6 | 6 |
| 7 #include "src/compiler/js-operator.h" | 7 #include "src/compiler/js-operator.h" |
| 8 #include "src/compiler/linkage.h" | 8 #include "src/compiler/linkage.h" |
| 9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 case IrOpcode::kJSSubtract: | 65 case IrOpcode::kJSSubtract: |
| 66 | 66 |
| 67 // Context operations | 67 // Context operations |
| 68 case IrOpcode::kJSCreateWithContext: | 68 case IrOpcode::kJSCreateWithContext: |
| 69 | 69 |
| 70 // Conversions | 70 // Conversions |
| 71 case IrOpcode::kJSToObject: | 71 case IrOpcode::kJSToObject: |
| 72 case IrOpcode::kJSToNumber: | 72 case IrOpcode::kJSToNumber: |
| 73 case IrOpcode::kJSToName: | 73 case IrOpcode::kJSToName: |
| 74 | 74 |
| 75 // Misc operations |
| 76 case IrOpcode::kJSStackCheck: |
| 77 |
| 75 // Properties | 78 // Properties |
| 76 case IrOpcode::kJSLoadNamed: | 79 case IrOpcode::kJSLoadNamed: |
| 77 case IrOpcode::kJSLoadProperty: | 80 case IrOpcode::kJSLoadProperty: |
| 78 case IrOpcode::kJSStoreNamed: | 81 case IrOpcode::kJSStoreNamed: |
| 79 case IrOpcode::kJSStoreProperty: | 82 case IrOpcode::kJSStoreProperty: |
| 80 case IrOpcode::kJSDeleteProperty: | 83 case IrOpcode::kJSDeleteProperty: |
| 81 return true; | 84 return true; |
| 82 | 85 |
| 83 default: | 86 default: |
| 84 return false; | 87 return false; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 101 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 104 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
| 102 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 105 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
| 103 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 106 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
| 104 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 107 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
| 105 opcode == IrOpcode::kIfDefault; | 108 opcode == IrOpcode::kIfDefault; |
| 106 } | 109 } |
| 107 | 110 |
| 108 } // namespace compiler | 111 } // namespace compiler |
| 109 } // namespace internal | 112 } // namespace internal |
| 110 } // namespace v8 | 113 } // namespace v8 |
| OLD | NEW |