Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Side by Side Diff: src/arm/lithium-arm.h

Issue 14522003: Fix arm port of tracking field representations. Based on Rodolph Perfetta's comments (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 LConstantOperand* constant_parameter_count() { 1513 LConstantOperand* constant_parameter_count() {
1514 ASSERT(has_constant_parameter_count()); 1514 ASSERT(has_constant_parameter_count());
1515 return LConstantOperand::cast(parameter_count()); 1515 return LConstantOperand::cast(parameter_count());
1516 } 1516 }
1517 LOperand* parameter_count() { return inputs_[1]; } 1517 LOperand* parameter_count() { return inputs_[1]; }
1518 1518
1519 DECLARE_CONCRETE_INSTRUCTION(Return, "return") 1519 DECLARE_CONCRETE_INSTRUCTION(Return, "return")
1520 }; 1520 };
1521 1521
1522 1522
1523 class LLoadNamedField: public LTemplateInstruction<1, 1, 1> { 1523 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> {
1524 public: 1524 public:
1525 explicit LLoadNamedField(LOperand* object, LOperand* temp) { 1525 explicit LLoadNamedField(LOperand* object) {
1526 inputs_[0] = object; 1526 inputs_[0] = object;
1527 temps_[0] = temp;
1528 } 1527 }
1529 1528
1530 LOperand* object() { return inputs_[0]; } 1529 LOperand* object() { return inputs_[0]; }
1531 LOperand* temp() { return temps_[0]; }
1532 1530
1533 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") 1531 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field")
1534 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) 1532 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField)
1535 }; 1533 };
1536 1534
1537 1535
1538 class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> { 1536 class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> {
1539 public: 1537 public:
1540 explicit LLoadNamedFieldPolymorphic(LOperand* object) { 1538 explicit LLoadNamedFieldPolymorphic(LOperand* object) {
1541 inputs_[0] = object; 1539 inputs_[0] = object;
(...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2863 2861
2864 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2862 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2865 }; 2863 };
2866 2864
2867 #undef DECLARE_HYDROGEN_ACCESSOR 2865 #undef DECLARE_HYDROGEN_ACCESSOR
2868 #undef DECLARE_CONCRETE_INSTRUCTION 2866 #undef DECLARE_CONCRETE_INSTRUCTION
2869 2867
2870 } } // namespace v8::internal 2868 } } // namespace v8::internal
2871 2869
2872 #endif // V8_ARM_LITHIUM_ARM_H_ 2870 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698