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

Side by Side Diff: src/mips/lithium-mips.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 | « src/ia32/lithium-ia32.h ('k') | src/unique.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 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1279 inputs_[0] = value; 1279 inputs_[0] = value;
1280 temps_[0] = temp; 1280 temps_[0] = temp;
1281 } 1281 }
1282 1282
1283 LOperand* value() { return inputs_[0]; } 1283 LOperand* value() { return inputs_[0]; }
1284 LOperand* temp() { return temps_[0]; } 1284 LOperand* temp() { return temps_[0]; }
1285 1285
1286 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") 1286 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
1287 DECLARE_HYDROGEN_ACCESSOR(CompareMap) 1287 DECLARE_HYDROGEN_ACCESSOR(CompareMap)
1288 1288
1289 Handle<Map> map() const { return hydrogen()->map(); } 1289 Handle<Map> map() const { return hydrogen()->map().handle(); }
1290 }; 1290 };
1291 1291
1292 1292
1293 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { 1293 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1294 public: 1294 public:
1295 explicit LMapEnumLength(LOperand* value) { 1295 explicit LMapEnumLength(LOperand* value) {
1296 inputs_[0] = value; 1296 inputs_[0] = value;
1297 } 1297 }
1298 1298
1299 LOperand* value() { return inputs_[0]; } 1299 LOperand* value() { return inputs_[0]; }
(...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after
2757 2757
2758 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2758 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2759 }; 2759 };
2760 2760
2761 #undef DECLARE_HYDROGEN_ACCESSOR 2761 #undef DECLARE_HYDROGEN_ACCESSOR
2762 #undef DECLARE_CONCRETE_INSTRUCTION 2762 #undef DECLARE_CONCRETE_INSTRUCTION
2763 2763
2764 } } // namespace v8::internal 2764 } } // namespace v8::internal
2765 2765
2766 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2766 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/unique.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698