| 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 V(ClassOf, Operator::kPure, 1, 1) \ | 566 V(ClassOf, Operator::kPure, 1, 1) \ |
| 567 V(TypeOf, Operator::kPure, 1, 1) \ | 567 V(TypeOf, Operator::kPure, 1, 1) \ |
| 568 V(InstanceOf, Operator::kNoProperties, 2, 1) \ | 568 V(InstanceOf, Operator::kNoProperties, 2, 1) \ |
| 569 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ | 569 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ |
| 570 V(ForInNext, Operator::kNoProperties, 4, 1) \ | 570 V(ForInNext, Operator::kNoProperties, 4, 1) \ |
| 571 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ | 571 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ |
| 572 V(LoadMessage, Operator::kNoThrow | Operator::kNoWrite, 0, 1) \ | 572 V(LoadMessage, Operator::kNoThrow | Operator::kNoWrite, 0, 1) \ |
| 573 V(StoreMessage, Operator::kNoRead | Operator::kNoThrow, 1, 0) \ | 573 V(StoreMessage, Operator::kNoRead | Operator::kNoThrow, 1, 0) \ |
| 574 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ | 574 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ |
| 575 V(StackCheck, Operator::kNoWrite, 0, 0) \ | 575 V(StackCheck, Operator::kNoWrite, 0, 0) \ |
| 576 V(Debugger, Operator::kNoProperties, 0, 0) \ |
| 576 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) | 577 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) |
| 577 | 578 |
| 578 #define BINARY_OP_LIST(V) \ | 579 #define BINARY_OP_LIST(V) \ |
| 579 V(BitwiseOr) \ | 580 V(BitwiseOr) \ |
| 580 V(BitwiseXor) \ | 581 V(BitwiseXor) \ |
| 581 V(BitwiseAnd) \ | 582 V(BitwiseAnd) \ |
| 582 V(ShiftLeft) \ | 583 V(ShiftLeft) \ |
| 583 V(ShiftRight) \ | 584 V(ShiftRight) \ |
| 584 V(ShiftRightLogical) \ | 585 V(ShiftRightLogical) \ |
| 585 V(Add) \ | 586 V(Add) \ |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1061 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- | 1062 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- |
| 1062 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode | 1063 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode |
| 1063 "JSCreateScriptContext", // name | 1064 "JSCreateScriptContext", // name |
| 1064 1, 1, 1, 1, 1, 2, // counts | 1065 1, 1, 1, 1, 1, 2, // counts |
| 1065 scope_info); // parameter | 1066 scope_info); // parameter |
| 1066 } | 1067 } |
| 1067 | 1068 |
| 1068 } // namespace compiler | 1069 } // namespace compiler |
| 1069 } // namespace internal | 1070 } // namespace internal |
| 1070 } // namespace v8 | 1071 } // namespace v8 |
| OLD | NEW |