| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 | 1188 |
| 1189 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } | 1189 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } |
| 1190 }; | 1190 }; |
| 1191 | 1191 |
| 1192 | 1192 |
| 1193 class LConstantT: public LTemplateInstruction<1, 0, 0> { | 1193 class LConstantT: public LTemplateInstruction<1, 0, 0> { |
| 1194 public: | 1194 public: |
| 1195 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1195 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
| 1196 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1196 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1197 | 1197 |
| 1198 Handle<Object> value() const { return hydrogen()->handle(); } | 1198 Handle<Object> value(Isolate* isolate) const { |
| 1199 return hydrogen()->handle(isolate); |
| 1200 } |
| 1199 }; | 1201 }; |
| 1200 | 1202 |
| 1201 | 1203 |
| 1202 class LContext: public LTemplateInstruction<1, 0, 0> { | 1204 class LContext: public LTemplateInstruction<1, 0, 0> { |
| 1203 public: | 1205 public: |
| 1204 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1206 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
| 1205 DECLARE_HYDROGEN_ACCESSOR(Context) | 1207 DECLARE_HYDROGEN_ACCESSOR(Context) |
| 1206 }; | 1208 }; |
| 1207 | 1209 |
| 1208 | 1210 |
| (...skipping 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2940 | 2942 |
| 2941 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2943 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2942 }; | 2944 }; |
| 2943 | 2945 |
| 2944 #undef DECLARE_HYDROGEN_ACCESSOR | 2946 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2945 #undef DECLARE_CONCRETE_INSTRUCTION | 2947 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2946 | 2948 |
| 2947 } } // namespace v8::internal | 2949 } } // namespace v8::internal |
| 2948 | 2950 |
| 2949 #endif // V8_A64_LITHIUM_A64_H_ | 2951 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |