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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 return hydrogen()->ExternalReferenceValue(); | 1214 return hydrogen()->ExternalReferenceValue(); |
1215 } | 1215 } |
1216 }; | 1216 }; |
1217 | 1217 |
1218 | 1218 |
1219 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1219 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1220 public: | 1220 public: |
1221 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1221 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
1222 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1222 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1223 | 1223 |
1224 Handle<Object> value() const { return hydrogen()->handle(); } | 1224 Handle<Object> value(Isolate* isolate) const { |
| 1225 return hydrogen()->handle(isolate); |
| 1226 } |
1225 }; | 1227 }; |
1226 | 1228 |
1227 | 1229 |
1228 class LBranch V8_FINAL : public LControlInstruction<1, 0> { | 1230 class LBranch V8_FINAL : public LControlInstruction<1, 0> { |
1229 public: | 1231 public: |
1230 explicit LBranch(LOperand* value) { | 1232 explicit LBranch(LOperand* value) { |
1231 inputs_[0] = value; | 1233 inputs_[0] = value; |
1232 } | 1234 } |
1233 | 1235 |
1234 LOperand* value() { return inputs_[0]; } | 1236 LOperand* value() { return inputs_[0]; } |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2708 | 2710 |
2709 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2711 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2710 }; | 2712 }; |
2711 | 2713 |
2712 #undef DECLARE_HYDROGEN_ACCESSOR | 2714 #undef DECLARE_HYDROGEN_ACCESSOR |
2713 #undef DECLARE_CONCRETE_INSTRUCTION | 2715 #undef DECLARE_CONCRETE_INSTRUCTION |
2714 | 2716 |
2715 } } // namespace v8::int | 2717 } } // namespace v8::int |
2716 | 2718 |
2717 #endif // V8_X64_LITHIUM_X64_H_ | 2719 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |