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

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

Issue 6611014: Add lithium support for %_GetCachedArrayIndex for IA32 and X64 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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/arm/lithium-arm.h ('k') | 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 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 ASSERT(instr->value()->representation().IsTagged()); 1511 ASSERT(instr->value()->representation().IsTagged());
1512 LOperand* value = UseRegisterAtStart(instr->value()); 1512 LOperand* value = UseRegisterAtStart(instr->value());
1513 1513
1514 return DefineAsRegister(new LHasInstanceType(value)); 1514 return DefineAsRegister(new LHasInstanceType(value));
1515 } 1515 }
1516 1516
1517 1517
1518 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( 1518 LInstruction* LChunkBuilder::DoGetCachedArrayIndex(
1519 HGetCachedArrayIndex* instr) { 1519 HGetCachedArrayIndex* instr) {
1520 ASSERT(instr->value()->representation().IsTagged()); 1520 ASSERT(instr->value()->representation().IsTagged());
1521 LOperand* value = UseRegister(instr->value()); 1521 LOperand* value = UseRegisterAtStart(instr->value());
1522 1522
1523 return DefineAsRegister(new LGetCachedArrayIndex(value)); 1523 return DefineAsRegister(new LGetCachedArrayIndex(value));
1524 } 1524 }
1525 1525
1526 1526
1527 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( 1527 LInstruction* LChunkBuilder::DoHasCachedArrayIndex(
1528 HHasCachedArrayIndex* instr) { 1528 HHasCachedArrayIndex* instr) {
1529 ASSERT(instr->value()->representation().IsTagged()); 1529 ASSERT(instr->value()->representation().IsTagged());
1530 LOperand* value = UseRegister(instr->value()); 1530 LOperand* value = UseRegister(instr->value());
1531 1531
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 2029
2030 2030
2031 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2031 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2032 HEnvironment* outer = current_block_->last_environment()->outer(); 2032 HEnvironment* outer = current_block_->last_environment()->outer();
2033 current_block_->UpdateEnvironment(outer); 2033 current_block_->UpdateEnvironment(outer);
2034 return NULL; 2034 return NULL;
2035 } 2035 }
2036 2036
2037 2037
2038 } } // namespace v8::internal 2038 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698