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 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 return hydrogen()->ExternalReferenceValue(); | 1279 return hydrogen()->ExternalReferenceValue(); |
1280 } | 1280 } |
1281 }; | 1281 }; |
1282 | 1282 |
1283 | 1283 |
1284 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1284 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1285 public: | 1285 public: |
1286 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1286 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
1287 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1287 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1288 | 1288 |
1289 Handle<Object> value() const { return hydrogen()->handle(); } | 1289 Handle<Object> value(Isolate* isolate) const { |
| 1290 return hydrogen()->handle(isolate); |
| 1291 } |
1290 }; | 1292 }; |
1291 | 1293 |
1292 | 1294 |
1293 class LBranch V8_FINAL : public LControlInstruction<1, 0> { | 1295 class LBranch V8_FINAL : public LControlInstruction<1, 0> { |
1294 public: | 1296 public: |
1295 explicit LBranch(LOperand* value) { | 1297 explicit LBranch(LOperand* value) { |
1296 inputs_[0] = value; | 1298 inputs_[0] = value; |
1297 } | 1299 } |
1298 | 1300 |
1299 LOperand* value() { return inputs_[0]; } | 1301 LOperand* value() { return inputs_[0]; } |
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2787 | 2789 |
2788 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2789 }; | 2791 }; |
2790 | 2792 |
2791 #undef DECLARE_HYDROGEN_ACCESSOR | 2793 #undef DECLARE_HYDROGEN_ACCESSOR |
2792 #undef DECLARE_CONCRETE_INSTRUCTION | 2794 #undef DECLARE_CONCRETE_INSTRUCTION |
2793 | 2795 |
2794 } } // namespace v8::internal | 2796 } } // namespace v8::internal |
2795 | 2797 |
2796 #endif // V8_ARM_LITHIUM_ARM_H_ | 2798 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |