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

Side by Side Diff: src/mips/lithium-mips.cc

Issue 10914025: MIPS: Use a special EnumLength field to indicate number of valid enum cache values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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/mips/lithium-mips.h ('k') | src/mips/macro-assembler-mips.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 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 } 1466 }
1467 1467
1468 1468
1469 LInstruction* LChunkBuilder::DoFixedArrayBaseLength( 1469 LInstruction* LChunkBuilder::DoFixedArrayBaseLength(
1470 HFixedArrayBaseLength* instr) { 1470 HFixedArrayBaseLength* instr) {
1471 LOperand* array = UseRegisterAtStart(instr->value()); 1471 LOperand* array = UseRegisterAtStart(instr->value());
1472 return DefineAsRegister(new(zone()) LFixedArrayBaseLength(array)); 1472 return DefineAsRegister(new(zone()) LFixedArrayBaseLength(array));
1473 } 1473 }
1474 1474
1475 1475
1476 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) {
1477 LOperand* map = UseRegisterAtStart(instr->value());
1478 return DefineAsRegister(new(zone()) LMapEnumLength(map));
1479 }
1480
1481
1476 LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) { 1482 LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) {
1477 LOperand* object = UseRegisterAtStart(instr->value()); 1483 LOperand* object = UseRegisterAtStart(instr->value());
1478 return DefineAsRegister(new(zone()) LElementsKind(object)); 1484 return DefineAsRegister(new(zone()) LElementsKind(object));
1479 } 1485 }
1480 1486
1481 1487
1482 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { 1488 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) {
1483 LOperand* object = UseRegister(instr->value()); 1489 LOperand* object = UseRegister(instr->value());
1484 LValueOf* result = new(zone()) LValueOf(object, TempRegister()); 1490 LValueOf* result = new(zone()) LValueOf(object, TempRegister());
1485 return DefineAsRegister(result); 1491 return DefineAsRegister(result);
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
2232 2238
2233 2239
2234 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2240 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2235 LOperand* object = UseRegister(instr->object()); 2241 LOperand* object = UseRegister(instr->object());
2236 LOperand* index = UseRegister(instr->index()); 2242 LOperand* index = UseRegister(instr->index());
2237 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2243 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2238 } 2244 }
2239 2245
2240 2246
2241 } } // namespace v8::internal 2247 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698