| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 case IrOpcode::kJSLoadDynamicContext: | 53 case IrOpcode::kJSLoadDynamicContext: |
| 54 case IrOpcode::kJSCreateScriptContext: | 54 case IrOpcode::kJSCreateScriptContext: |
| 55 case IrOpcode::kJSCreateWithContext: | 55 case IrOpcode::kJSCreateWithContext: |
| 56 | 56 |
| 57 // Conversions | 57 // Conversions |
| 58 case IrOpcode::kJSToObject: | 58 case IrOpcode::kJSToObject: |
| 59 case IrOpcode::kJSToNumber: | 59 case IrOpcode::kJSToNumber: |
| 60 case IrOpcode::kJSToName: | 60 case IrOpcode::kJSToName: |
| 61 | 61 |
| 62 // Misc operations | 62 // Misc operations |
| 63 case IrOpcode::kJSConvertReceiver: |
| 63 case IrOpcode::kJSForInNext: | 64 case IrOpcode::kJSForInNext: |
| 64 case IrOpcode::kJSForInPrepare: | 65 case IrOpcode::kJSForInPrepare: |
| 65 case IrOpcode::kJSStackCheck: | 66 case IrOpcode::kJSStackCheck: |
| 66 case IrOpcode::kJSDeleteProperty: | 67 case IrOpcode::kJSDeleteProperty: |
| 67 return 1; | 68 return 1; |
| 68 | 69 |
| 69 // We record the frame state immediately before and immediately after | 70 // We record the frame state immediately before and immediately after |
| 70 // every property or global variable access. | 71 // every property or global variable access. |
| 71 case IrOpcode::kJSLoadNamed: | 72 case IrOpcode::kJSLoadNamed: |
| 72 case IrOpcode::kJSStoreNamed: | 73 case IrOpcode::kJSStoreNamed: |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 124 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
| 124 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 125 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
| 125 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 126 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
| 126 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 127 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
| 127 opcode == IrOpcode::kIfDefault; | 128 opcode == IrOpcode::kIfDefault; |
| 128 } | 129 } |
| 129 | 130 |
| 130 } // namespace compiler | 131 } // namespace compiler |
| 131 } // namespace internal | 132 } // namespace internal |
| 132 } // namespace v8 | 133 } // namespace v8 |
| OLD | NEW |