| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/simplified-operator.h" | 5 #include "src/compiler/simplified-operator.h" | 
| 6 | 6 | 
| 7 #include "src/base/lazy-instance.h" | 7 #include "src/base/lazy-instance.h" | 
| 8 #include "src/compiler/opcodes.h" | 8 #include "src/compiler/opcodes.h" | 
| 9 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" | 
| 10 #include "src/types.h" | 10 #include "src/types.h" | 
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 316   V(CheckIf, 1, 0)               \ | 316   V(CheckIf, 1, 0)               \ | 
| 317   V(CheckNumber, 1, 1)           \ | 317   V(CheckNumber, 1, 1)           \ | 
| 318   V(CheckTaggedPointer, 1, 1)    \ | 318   V(CheckTaggedPointer, 1, 1)    \ | 
| 319   V(CheckTaggedSigned, 1, 1)     \ | 319   V(CheckTaggedSigned, 1, 1)     \ | 
| 320   V(CheckedInt32Add, 2, 1)       \ | 320   V(CheckedInt32Add, 2, 1)       \ | 
| 321   V(CheckedInt32Sub, 2, 1)       \ | 321   V(CheckedInt32Sub, 2, 1)       \ | 
| 322   V(CheckedInt32Div, 2, 1)       \ | 322   V(CheckedInt32Div, 2, 1)       \ | 
| 323   V(CheckedInt32Mod, 2, 1)       \ | 323   V(CheckedInt32Mod, 2, 1)       \ | 
| 324   V(CheckedUint32Div, 2, 1)      \ | 324   V(CheckedUint32Div, 2, 1)      \ | 
| 325   V(CheckedUint32Mod, 2, 1)      \ | 325   V(CheckedUint32Mod, 2, 1)      \ | 
|  | 326   V(CheckedInt32Mul, 2, 1)       \ | 
| 326   V(CheckedUint32ToInt32, 1, 1)  \ | 327   V(CheckedUint32ToInt32, 1, 1)  \ | 
| 327   V(CheckedFloat64ToInt32, 1, 1) \ | 328   V(CheckedFloat64ToInt32, 1, 1) \ | 
| 328   V(CheckedTaggedToInt32, 1, 1)  \ | 329   V(CheckedTaggedToInt32, 1, 1)  \ | 
| 329   V(CheckedTaggedToFloat64, 1, 1) | 330   V(CheckedTaggedToFloat64, 1, 1) | 
| 330 | 331 | 
| 331 struct SimplifiedOperatorGlobalCache final { | 332 struct SimplifiedOperatorGlobalCache final { | 
| 332 #define PURE(Name, properties, input_count)                                \ | 333 #define PURE(Name, properties, input_count)                                \ | 
| 333   struct Name##Operator final : public Operator {                          \ | 334   struct Name##Operator final : public Operator {                          \ | 
| 334     Name##Operator()                                                       \ | 335     Name##Operator()                                                       \ | 
| 335         : Operator(IrOpcode::k##Name, Operator::kPure | properties, #Name, \ | 336         : Operator(IrOpcode::k##Name, Operator::kPure | properties, #Name, \ | 
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 544                         Operator::kNoDeopt | Operator::kNoThrow | properties,  \ | 545                         Operator::kNoDeopt | Operator::kNoThrow | properties,  \ | 
| 545                         #Name, value_input_count, 1, control_input_count,      \ | 546                         #Name, value_input_count, 1, control_input_count,      \ | 
| 546                         output_count, 1, 0, access);                           \ | 547                         output_count, 1, 0, access);                           \ | 
| 547   } | 548   } | 
| 548 ACCESS_OP_LIST(ACCESS) | 549 ACCESS_OP_LIST(ACCESS) | 
| 549 #undef ACCESS | 550 #undef ACCESS | 
| 550 | 551 | 
| 551 }  // namespace compiler | 552 }  // namespace compiler | 
| 552 }  // namespace internal | 553 }  // namespace internal | 
| 553 }  // namespace v8 | 554 }  // namespace v8 | 
| OLD | NEW | 
|---|