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 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1259 return hydrogen()->ExternalReferenceValue(); | 1259 return hydrogen()->ExternalReferenceValue(); |
1260 } | 1260 } |
1261 }; | 1261 }; |
1262 | 1262 |
1263 | 1263 |
1264 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1264 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1265 public: | 1265 public: |
1266 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1266 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
1267 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1267 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1268 | 1268 |
1269 Handle<Object> value() const { return hydrogen()->handle(); } | 1269 Handle<Object> value(Isolate* isolate) const { |
| 1270 return hydrogen()->handle(isolate); |
| 1271 } |
1270 }; | 1272 }; |
1271 | 1273 |
1272 | 1274 |
1273 class LBranch V8_FINAL : public LControlInstruction<1, 0> { | 1275 class LBranch V8_FINAL : public LControlInstruction<1, 0> { |
1274 public: | 1276 public: |
1275 explicit LBranch(LOperand* value) { | 1277 explicit LBranch(LOperand* value) { |
1276 inputs_[0] = value; | 1278 inputs_[0] = value; |
1277 } | 1279 } |
1278 | 1280 |
1279 LOperand* value() { return inputs_[0]; } | 1281 LOperand* value() { return inputs_[0]; } |
(...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2760 | 2762 |
2761 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2763 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2762 }; | 2764 }; |
2763 | 2765 |
2764 #undef DECLARE_HYDROGEN_ACCESSOR | 2766 #undef DECLARE_HYDROGEN_ACCESSOR |
2765 #undef DECLARE_CONCRETE_INSTRUCTION | 2767 #undef DECLARE_CONCRETE_INSTRUCTION |
2766 | 2768 |
2767 } } // namespace v8::internal | 2769 } } // namespace v8::internal |
2768 | 2770 |
2769 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2771 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |