| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 V(FunctionLiteral) \ | 98 V(FunctionLiteral) \ |
| 99 V(GetCachedArrayIndex) \ | 99 V(GetCachedArrayIndex) \ |
| 100 V(GlobalObject) \ | 100 V(GlobalObject) \ |
| 101 V(GlobalReceiver) \ | 101 V(GlobalReceiver) \ |
| 102 V(Goto) \ | 102 V(Goto) \ |
| 103 V(HasCachedArrayIndexAndBranch) \ | 103 V(HasCachedArrayIndexAndBranch) \ |
| 104 V(HasInstanceTypeAndBranch) \ | 104 V(HasInstanceTypeAndBranch) \ |
| 105 V(InnerAllocatedObject) \ | 105 V(InnerAllocatedObject) \ |
| 106 V(InstanceOf) \ | 106 V(InstanceOf) \ |
| 107 V(InstanceOfKnownGlobal) \ | 107 V(InstanceOfKnownGlobal) \ |
| 108 V(InstanceSize) \ | |
| 109 V(InstructionGap) \ | 108 V(InstructionGap) \ |
| 110 V(Integer32ToDouble) \ | 109 V(Integer32ToDouble) \ |
| 111 V(Integer32ToSmi) \ | 110 V(Integer32ToSmi) \ |
| 112 V(InvokeFunction) \ | 111 V(InvokeFunction) \ |
| 113 V(IsConstructCallAndBranch) \ | 112 V(IsConstructCallAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 113 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 114 V(IsStringAndBranch) \ |
| 116 V(IsSmiAndBranch) \ | 115 V(IsSmiAndBranch) \ |
| 117 V(IsUndetectableAndBranch) \ | 116 V(IsUndetectableAndBranch) \ |
| 118 V(Label) \ | 117 V(Label) \ |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1071 virtual void SetDeferredLazyDeoptimizationEnvironment( | 1070 virtual void SetDeferredLazyDeoptimizationEnvironment( |
| 1072 LEnvironment* env) V8_OVERRIDE { | 1071 LEnvironment* env) V8_OVERRIDE { |
| 1073 lazy_deopt_env_ = env; | 1072 lazy_deopt_env_ = env; |
| 1074 } | 1073 } |
| 1075 | 1074 |
| 1076 private: | 1075 private: |
| 1077 LEnvironment* lazy_deopt_env_; | 1076 LEnvironment* lazy_deopt_env_; |
| 1078 }; | 1077 }; |
| 1079 | 1078 |
| 1080 | 1079 |
| 1081 class LInstanceSize V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
| 1082 public: | |
| 1083 explicit LInstanceSize(LOperand* object) { | |
| 1084 inputs_[0] = object; | |
| 1085 } | |
| 1086 | |
| 1087 LOperand* object() { return inputs_[0]; } | |
| 1088 | |
| 1089 DECLARE_CONCRETE_INSTRUCTION(InstanceSize, "instance-size") | |
| 1090 DECLARE_HYDROGEN_ACCESSOR(InstanceSize) | |
| 1091 }; | |
| 1092 | |
| 1093 | |
| 1094 class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> { | 1080 class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> { |
| 1095 public: | 1081 public: |
| 1096 LBoundsCheck(LOperand* index, LOperand* length) { | 1082 LBoundsCheck(LOperand* index, LOperand* length) { |
| 1097 inputs_[0] = index; | 1083 inputs_[0] = index; |
| 1098 inputs_[1] = length; | 1084 inputs_[1] = length; |
| 1099 } | 1085 } |
| 1100 | 1086 |
| 1101 LOperand* index() { return inputs_[0]; } | 1087 LOperand* index() { return inputs_[0]; } |
| 1102 LOperand* length() { return inputs_[1]; } | 1088 LOperand* length() { return inputs_[1]; } |
| 1103 | 1089 |
| (...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2724 | 2710 |
| 2725 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2711 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2726 }; | 2712 }; |
| 2727 | 2713 |
| 2728 #undef DECLARE_HYDROGEN_ACCESSOR | 2714 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2729 #undef DECLARE_CONCRETE_INSTRUCTION | 2715 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2730 | 2716 |
| 2731 } } // namespace v8::int | 2717 } } // namespace v8::int |
| 2732 | 2718 |
| 2733 #endif // V8_X64_LITHIUM_X64_H_ | 2719 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |