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

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

Issue 7275020: Merge r8443 from bleeding edge to 3.3 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.3/
Patch Set: Created 9 years, 5 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/ia32/lithium-ia32.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 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 return new LHasCachedArrayIndexAndBranch( 1101 return new LHasCachedArrayIndexAndBranch(
1102 UseRegisterAtStart(compare->value())); 1102 UseRegisterAtStart(compare->value()));
1103 } else if (v->IsIsNull()) { 1103 } else if (v->IsIsNull()) {
1104 HIsNull* compare = HIsNull::cast(v); 1104 HIsNull* compare = HIsNull::cast(v);
1105 ASSERT(compare->value()->representation().IsTagged()); 1105 ASSERT(compare->value()->representation().IsTagged());
1106 return new LIsNullAndBranch(UseRegisterAtStart(compare->value())); 1106 return new LIsNullAndBranch(UseRegisterAtStart(compare->value()));
1107 } else if (v->IsIsObject()) { 1107 } else if (v->IsIsObject()) {
1108 HIsObject* compare = HIsObject::cast(v); 1108 HIsObject* compare = HIsObject::cast(v);
1109 ASSERT(compare->value()->representation().IsTagged()); 1109 ASSERT(compare->value()->representation().IsTagged());
1110 LOperand* temp = TempRegister(); 1110 LOperand* temp = TempRegister();
1111 return new LIsObjectAndBranch(UseRegisterAtStart(compare->value()), temp); 1111 return new LIsObjectAndBranch(UseRegister(compare->value()), temp);
1112 } else if (v->IsCompareJSObjectEq()) { 1112 } else if (v->IsCompareJSObjectEq()) {
1113 HCompareJSObjectEq* compare = HCompareJSObjectEq::cast(v); 1113 HCompareJSObjectEq* compare = HCompareJSObjectEq::cast(v);
1114 return new LCmpJSObjectEqAndBranch(UseRegisterAtStart(compare->left()), 1114 return new LCmpJSObjectEqAndBranch(UseRegisterAtStart(compare->left()),
1115 UseRegisterAtStart(compare->right())); 1115 UseRegisterAtStart(compare->right()));
1116 } else if (v->IsCompareSymbolEq()) { 1116 } else if (v->IsCompareSymbolEq()) {
1117 HCompareSymbolEq* compare = HCompareSymbolEq::cast(v); 1117 HCompareSymbolEq* compare = HCompareSymbolEq::cast(v);
1118 return new LCmpSymbolEqAndBranch(UseRegisterAtStart(compare->left()), 1118 return new LCmpSymbolEqAndBranch(UseRegisterAtStart(compare->left()),
1119 UseRegisterAtStart(compare->right())); 1119 UseRegisterAtStart(compare->right()));
1120 } else if (v->IsInstanceOf()) { 1120 } else if (v->IsInstanceOf()) {
1121 HInstanceOf* instance_of = HInstanceOf::cast(v); 1121 HInstanceOf* instance_of = HInstanceOf::cast(v);
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2201 2201
2202 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2202 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2203 LOperand* key = UseRegisterAtStart(instr->key()); 2203 LOperand* key = UseRegisterAtStart(instr->key());
2204 LOperand* object = UseRegisterAtStart(instr->object()); 2204 LOperand* object = UseRegisterAtStart(instr->object());
2205 LIn* result = new LIn(key, object); 2205 LIn* result = new LIn(key, object);
2206 return MarkAsCall(DefineFixed(result, r0), instr); 2206 return MarkAsCall(DefineFixed(result, r0), instr);
2207 } 2207 }
2208 2208
2209 2209
2210 } } // namespace v8::internal 2210 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698