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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 V(ToNumber, Operator::kNoProperties, 1, 1) \ | 613 V(ToNumber, Operator::kNoProperties, 1, 1) \ |
614 V(ToObject, Operator::kFoldable, 1, 1) \ | 614 V(ToObject, Operator::kFoldable, 1, 1) \ |
615 V(ToString, Operator::kNoProperties, 1, 1) \ | 615 V(ToString, Operator::kNoProperties, 1, 1) \ |
616 V(ToPrimitiveToString, Operator::kNoProperties, 1, 1) \ | 616 V(ToPrimitiveToString, Operator::kNoProperties, 1, 1) \ |
617 V(Create, Operator::kNoProperties, 2, 1) \ | 617 V(Create, Operator::kNoProperties, 2, 1) \ |
618 V(CreateIterResultObject, Operator::kEliminatable, 2, 1) \ | 618 V(CreateIterResultObject, Operator::kEliminatable, 2, 1) \ |
619 V(CreateKeyValueArray, Operator::kEliminatable, 2, 1) \ | 619 V(CreateKeyValueArray, Operator::kEliminatable, 2, 1) \ |
620 V(HasProperty, Operator::kNoProperties, 2, 1) \ | 620 V(HasProperty, Operator::kNoProperties, 2, 1) \ |
621 V(ClassOf, Operator::kPure, 1, 1) \ | 621 V(ClassOf, Operator::kPure, 1, 1) \ |
622 V(TypeOf, Operator::kPure, 1, 1) \ | 622 V(TypeOf, Operator::kPure, 1, 1) \ |
| 623 V(HasInPrototypeChain, Operator::kNoProperties, 2, 1) \ |
623 V(InstanceOf, Operator::kNoProperties, 2, 1) \ | 624 V(InstanceOf, Operator::kNoProperties, 2, 1) \ |
624 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ | 625 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ |
625 V(ForInNext, Operator::kNoProperties, 4, 1) \ | 626 V(ForInNext, Operator::kNoProperties, 4, 1) \ |
626 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ | 627 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ |
627 V(LoadMessage, Operator::kNoThrow | Operator::kNoWrite, 0, 1) \ | 628 V(LoadMessage, Operator::kNoThrow | Operator::kNoWrite, 0, 1) \ |
628 V(StoreMessage, Operator::kNoRead | Operator::kNoThrow, 1, 0) \ | 629 V(StoreMessage, Operator::kNoRead | Operator::kNoThrow, 1, 0) \ |
629 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ | 630 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ |
630 V(StackCheck, Operator::kNoWrite, 0, 0) \ | 631 V(StackCheck, Operator::kNoWrite, 0, 0) \ |
631 V(Debugger, Operator::kNoProperties, 0, 0) \ | 632 V(Debugger, Operator::kNoProperties, 0, 0) \ |
632 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) | 633 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1150 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- | 1151 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- |
1151 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode | 1152 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode |
1152 "JSCreateScriptContext", // name | 1153 "JSCreateScriptContext", // name |
1153 1, 1, 1, 1, 1, 2, // counts | 1154 1, 1, 1, 1, 1, 2, // counts |
1154 scope_info); // parameter | 1155 scope_info); // parameter |
1155 } | 1156 } |
1156 | 1157 |
1157 } // namespace compiler | 1158 } // namespace compiler |
1158 } // namespace internal | 1159 } // namespace internal |
1159 } // namespace v8 | 1160 } // namespace v8 |
OLD | NEW |