| 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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 return hydrogen()->ExternalReferenceValue(); | 1254 return hydrogen()->ExternalReferenceValue(); |
| 1255 } | 1255 } |
| 1256 }; | 1256 }; |
| 1257 | 1257 |
| 1258 | 1258 |
| 1259 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1259 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1260 public: | 1260 public: |
| 1261 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1261 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
| 1262 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1262 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1263 | 1263 |
| 1264 Handle<Object> value() const { return hydrogen()->handle(); } | 1264 Handle<Object> value(Isolate* isolate) const { |
| 1265 return hydrogen()->handle(isolate); |
| 1266 } |
| 1265 }; | 1267 }; |
| 1266 | 1268 |
| 1267 | 1269 |
| 1268 class LBranch V8_FINAL : public LControlInstruction<1, 1> { | 1270 class LBranch V8_FINAL : public LControlInstruction<1, 1> { |
| 1269 public: | 1271 public: |
| 1270 LBranch(LOperand* value, LOperand* temp) { | 1272 LBranch(LOperand* value, LOperand* temp) { |
| 1271 inputs_[0] = value; | 1273 inputs_[0] = value; |
| 1272 temps_[0] = temp; | 1274 temps_[0] = temp; |
| 1273 } | 1275 } |
| 1274 | 1276 |
| (...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2902 | 2904 |
| 2903 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2905 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2904 }; | 2906 }; |
| 2905 | 2907 |
| 2906 #undef DECLARE_HYDROGEN_ACCESSOR | 2908 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2907 #undef DECLARE_CONCRETE_INSTRUCTION | 2909 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2908 | 2910 |
| 2909 } } // namespace v8::internal | 2911 } } // namespace v8::internal |
| 2910 | 2912 |
| 2911 #endif // V8_IA32_LITHIUM_IA32_H_ | 2913 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |