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/compiler/types.h" | 10 #include "src/compiler/types.h" |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 V(StringLessThanOrEqual, Operator::kNoProperties, 2, 0) | 420 V(StringLessThanOrEqual, Operator::kNoProperties, 2, 0) |
421 | 421 |
422 #define SPECULATIVE_NUMBER_BINOP_LIST(V) \ | 422 #define SPECULATIVE_NUMBER_BINOP_LIST(V) \ |
423 SIMPLIFIED_SPECULATIVE_NUMBER_BINOP_LIST(V) \ | 423 SIMPLIFIED_SPECULATIVE_NUMBER_BINOP_LIST(V) \ |
424 V(SpeculativeNumberEqual) \ | 424 V(SpeculativeNumberEqual) \ |
425 V(SpeculativeNumberLessThan) \ | 425 V(SpeculativeNumberLessThan) \ |
426 V(SpeculativeNumberLessThanOrEqual) | 426 V(SpeculativeNumberLessThanOrEqual) |
427 | 427 |
428 #define CHECKED_OP_LIST(V) \ | 428 #define CHECKED_OP_LIST(V) \ |
429 V(CheckBounds, 2, 1) \ | 429 V(CheckBounds, 2, 1) \ |
430 V(CheckHasInPrototypeChain, 2, 1) \ | |
431 V(CheckHeapObject, 1, 1) \ | 430 V(CheckHeapObject, 1, 1) \ |
432 V(CheckIf, 1, 0) \ | 431 V(CheckIf, 1, 0) \ |
433 V(CheckNumber, 1, 1) \ | 432 V(CheckNumber, 1, 1) \ |
434 V(CheckSmi, 1, 1) \ | 433 V(CheckSmi, 1, 1) \ |
435 V(CheckString, 1, 1) \ | 434 V(CheckString, 1, 1) \ |
436 V(CheckTaggedHole, 1, 1) \ | 435 V(CheckTaggedHole, 1, 1) \ |
437 V(CheckedInt32Add, 2, 1) \ | 436 V(CheckedInt32Add, 2, 1) \ |
438 V(CheckedInt32Sub, 2, 1) \ | 437 V(CheckedInt32Sub, 2, 1) \ |
439 V(CheckedInt32Div, 2, 1) \ | 438 V(CheckedInt32Div, 2, 1) \ |
440 V(CheckedInt32Mod, 2, 1) \ | 439 V(CheckedInt32Mod, 2, 1) \ |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 Operator::kNoDeopt | Operator::kNoThrow | properties, \ | 813 Operator::kNoDeopt | Operator::kNoThrow | properties, \ |
815 #Name, value_input_count, 1, control_input_count, \ | 814 #Name, value_input_count, 1, control_input_count, \ |
816 output_count, 1, 0, access); \ | 815 output_count, 1, 0, access); \ |
817 } | 816 } |
818 ACCESS_OP_LIST(ACCESS) | 817 ACCESS_OP_LIST(ACCESS) |
819 #undef ACCESS | 818 #undef ACCESS |
820 | 819 |
821 } // namespace compiler | 820 } // namespace compiler |
822 } // namespace internal | 821 } // namespace internal |
823 } // namespace v8 | 822 } // namespace v8 |
OLD | NEW |