| 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/js-operator.h" | 5 #include "src/compiler/js-operator.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "src/base/lazy-instance.h" | 9 #include "src/base/lazy-instance.h" |
| 10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 V(TypeOf, Operator::kPure, 1, 1) \ | 474 V(TypeOf, Operator::kPure, 1, 1) \ |
| 475 V(InstanceOf, Operator::kNoProperties, 2, 1) \ | 475 V(InstanceOf, Operator::kNoProperties, 2, 1) \ |
| 476 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ | 476 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ |
| 477 V(ForInNext, Operator::kNoProperties, 4, 1) \ | 477 V(ForInNext, Operator::kNoProperties, 4, 1) \ |
| 478 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ | 478 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ |
| 479 V(LoadMessage, Operator::kNoThrow, 0, 1) \ | 479 V(LoadMessage, Operator::kNoThrow, 0, 1) \ |
| 480 V(StoreMessage, Operator::kNoThrow, 1, 0) \ | 480 V(StoreMessage, Operator::kNoThrow, 1, 0) \ |
| 481 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ | 481 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ |
| 482 V(StackCheck, Operator::kNoWrite, 0, 0) \ | 482 V(StackCheck, Operator::kNoWrite, 0, 0) \ |
| 483 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) \ | 483 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) \ |
| 484 V(StoreDataPropertyInLiteral, Operator::kNoProperties, 5, 0) | 484 V(StoreDataPropertyInLiteral, Operator::kNoProperties, 4, 0) |
| 485 | 485 |
| 486 #define BINARY_OP_LIST(V) \ | 486 #define BINARY_OP_LIST(V) \ |
| 487 V(BitwiseOr) \ | 487 V(BitwiseOr) \ |
| 488 V(BitwiseXor) \ | 488 V(BitwiseXor) \ |
| 489 V(BitwiseAnd) \ | 489 V(BitwiseAnd) \ |
| 490 V(ShiftLeft) \ | 490 V(ShiftLeft) \ |
| 491 V(ShiftRight) \ | 491 V(ShiftRight) \ |
| 492 V(ShiftRightLogical) \ | 492 V(ShiftRightLogical) \ |
| 493 V(Add) \ | 493 V(Add) \ |
| 494 V(Subtract) \ | 494 V(Subtract) \ |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- | 933 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- |
| 934 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode | 934 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode |
| 935 "JSCreateScriptContext", // name | 935 "JSCreateScriptContext", // name |
| 936 1, 1, 1, 1, 1, 2, // counts | 936 1, 1, 1, 1, 1, 2, // counts |
| 937 scpope_info); // parameter | 937 scpope_info); // parameter |
| 938 } | 938 } |
| 939 | 939 |
| 940 } // namespace compiler | 940 } // namespace compiler |
| 941 } // namespace internal | 941 } // namespace internal |
| 942 } // namespace v8 | 942 } // namespace v8 |
| OLD | NEW |