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

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

Issue 24243005: Use Unique<Map> in CompareMap. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Simplify Unique tests and disallow allocation during creation of unique in tests. Created 7 years, 3 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/hydrogen-instructions.h » ('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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 inputs_[0] = value; 1298 inputs_[0] = value;
1299 temps_[0] = temp; 1299 temps_[0] = temp;
1300 } 1300 }
1301 1301
1302 LOperand* value() { return inputs_[0]; } 1302 LOperand* value() { return inputs_[0]; }
1303 LOperand* temp() { return temps_[0]; } 1303 LOperand* temp() { return temps_[0]; }
1304 1304
1305 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") 1305 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
1306 DECLARE_HYDROGEN_ACCESSOR(CompareMap) 1306 DECLARE_HYDROGEN_ACCESSOR(CompareMap)
1307 1307
1308 Handle<Map> map() const { return hydrogen()->map(); } 1308 Handle<Map> map() const { return hydrogen()->map().handle(); }
1309 }; 1309 };
1310 1310
1311 1311
1312 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { 1312 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1313 public: 1313 public:
1314 explicit LMapEnumLength(LOperand* value) { 1314 explicit LMapEnumLength(LOperand* value) {
1315 inputs_[0] = value; 1315 inputs_[0] = value;
1316 } 1316 }
1317 1317
1318 LOperand* value() { return inputs_[0]; } 1318 LOperand* value() { return inputs_[0]; }
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 2792
2793 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2793 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2794 }; 2794 };
2795 2795
2796 #undef DECLARE_HYDROGEN_ACCESSOR 2796 #undef DECLARE_HYDROGEN_ACCESSOR
2797 #undef DECLARE_CONCRETE_INSTRUCTION 2797 #undef DECLARE_CONCRETE_INSTRUCTION
2798 2798
2799 } } // namespace v8::internal 2799 } } // namespace v8::internal
2800 2800
2801 #endif // V8_ARM_LITHIUM_ARM_H_ 2801 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698