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 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2123 temps_[0] = temp; | 2123 temps_[0] = temp; |
2124 temps_[1] = temp2; | 2124 temps_[1] = temp2; |
2125 } | 2125 } |
2126 | 2126 |
2127 LOperand* temp() { return temps_[0]; } | 2127 LOperand* temp() { return temps_[0]; } |
2128 LOperand* temp2() { return temps_[1]; } | 2128 LOperand* temp2() { return temps_[1]; } |
2129 | 2129 |
2130 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2130 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
2131 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2131 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
2132 | 2132 |
2133 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } | 2133 ZoneList<Handle<JSObject> >* prototypes() const { |
2134 Handle<JSObject> holder() const { return hydrogen()->holder(); } | 2134 return hydrogen()->prototypes(); |
| 2135 } |
| 2136 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
2135 }; | 2137 }; |
2136 | 2138 |
2137 | 2139 |
2138 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2140 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
2139 public: | 2141 public: |
2140 explicit LCheckSmi(LOperand* value) { | 2142 explicit LCheckSmi(LOperand* value) { |
2141 inputs_[0] = value; | 2143 inputs_[0] = value; |
2142 } | 2144 } |
2143 | 2145 |
2144 LOperand* value() { return inputs_[0]; } | 2146 LOperand* value() { return inputs_[0]; } |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2589 | 2591 |
2590 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2592 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2591 }; | 2593 }; |
2592 | 2594 |
2593 #undef DECLARE_HYDROGEN_ACCESSOR | 2595 #undef DECLARE_HYDROGEN_ACCESSOR |
2594 #undef DECLARE_CONCRETE_INSTRUCTION | 2596 #undef DECLARE_CONCRETE_INSTRUCTION |
2595 | 2597 |
2596 } } // namespace v8::internal | 2598 } } // namespace v8::internal |
2597 | 2599 |
2598 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2600 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |