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

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

Issue 9166007: Tiny improvement of register constraints in LClassOfTest instructions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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-codegen-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 HHasCachedArrayIndexAndBranch* instr) { 1522 HHasCachedArrayIndexAndBranch* instr) {
1523 ASSERT(instr->value()->representation().IsTagged()); 1523 ASSERT(instr->value()->representation().IsTagged());
1524 return new LHasCachedArrayIndexAndBranch( 1524 return new LHasCachedArrayIndexAndBranch(
1525 UseRegisterAtStart(instr->value())); 1525 UseRegisterAtStart(instr->value()));
1526 } 1526 }
1527 1527
1528 1528
1529 LInstruction* LChunkBuilder::DoClassOfTestAndBranch( 1529 LInstruction* LChunkBuilder::DoClassOfTestAndBranch(
1530 HClassOfTestAndBranch* instr) { 1530 HClassOfTestAndBranch* instr) {
1531 ASSERT(instr->value()->representation().IsTagged()); 1531 ASSERT(instr->value()->representation().IsTagged());
1532 return new LClassOfTestAndBranch(UseTempRegister(instr->value()), 1532 return new LClassOfTestAndBranch(UseRegister(instr->value()),
1533 TempRegister()); 1533 TempRegister());
1534 } 1534 }
1535 1535
1536 1536
1537 LInstruction* LChunkBuilder::DoJSArrayLength(HJSArrayLength* instr) { 1537 LInstruction* LChunkBuilder::DoJSArrayLength(HJSArrayLength* instr) {
1538 LOperand* array = UseRegisterAtStart(instr->value()); 1538 LOperand* array = UseRegisterAtStart(instr->value());
1539 return DefineAsRegister(new LJSArrayLength(array)); 1539 return DefineAsRegister(new LJSArrayLength(array));
1540 } 1540 }
1541 1541
1542 1542
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
2238 2238
2239 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2239 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2240 LOperand* key = UseRegisterAtStart(instr->key()); 2240 LOperand* key = UseRegisterAtStart(instr->key());
2241 LOperand* object = UseRegisterAtStart(instr->object()); 2241 LOperand* object = UseRegisterAtStart(instr->object());
2242 LIn* result = new LIn(key, object); 2242 LIn* result = new LIn(key, object);
2243 return MarkAsCall(DefineFixed(result, r0), instr); 2243 return MarkAsCall(DefineFixed(result, r0), instr);
2244 } 2244 }
2245 2245
2246 2246
2247 } } // namespace v8::internal 2247 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698