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 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 public: | 1289 public: |
1290 explicit LCmpMapAndBranch(LOperand* value) { | 1290 explicit LCmpMapAndBranch(LOperand* value) { |
1291 inputs_[0] = value; | 1291 inputs_[0] = value; |
1292 } | 1292 } |
1293 | 1293 |
1294 LOperand* value() { return inputs_[0]; } | 1294 LOperand* value() { return inputs_[0]; } |
1295 | 1295 |
1296 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1296 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
1297 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1297 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
1298 | 1298 |
1299 Handle<Map> map() const { return hydrogen()->map(); } | 1299 Handle<Map> map() const { return hydrogen()->map().handle(); } |
1300 }; | 1300 }; |
1301 | 1301 |
1302 | 1302 |
1303 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1303 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
1304 public: | 1304 public: |
1305 explicit LMapEnumLength(LOperand* value) { | 1305 explicit LMapEnumLength(LOperand* value) { |
1306 inputs_[0] = value; | 1306 inputs_[0] = value; |
1307 } | 1307 } |
1308 | 1308 |
1309 LOperand* value() { return inputs_[0]; } | 1309 LOperand* value() { return inputs_[0]; } |
(...skipping 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2918 | 2918 |
2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2920 }; | 2920 }; |
2921 | 2921 |
2922 #undef DECLARE_HYDROGEN_ACCESSOR | 2922 #undef DECLARE_HYDROGEN_ACCESSOR |
2923 #undef DECLARE_CONCRETE_INSTRUCTION | 2923 #undef DECLARE_CONCRETE_INSTRUCTION |
2924 | 2924 |
2925 } } // namespace v8::internal | 2925 } } // namespace v8::internal |
2926 | 2926 |
2927 #endif // V8_IA32_LITHIUM_IA32_H_ | 2927 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |