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

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

Issue 7706030: Fix ARM build for gcc-4.6. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 4 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/full-codegen-arm.cc ('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 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 UseFixed(instr->right(), r0); 1392 UseFixed(instr->right(), r0);
1393 LPower* result = new LPower(left, right); 1393 LPower* result = new LPower(left, right);
1394 return MarkAsCall(DefineFixedDouble(result, d3), 1394 return MarkAsCall(DefineFixedDouble(result, d3),
1395 instr, 1395 instr,
1396 CAN_DEOPTIMIZE_EAGERLY); 1396 CAN_DEOPTIMIZE_EAGERLY);
1397 } 1397 }
1398 1398
1399 1399
1400 LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) { 1400 LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
1401 Token::Value op = instr->token(); 1401 Token::Value op = instr->token();
1402 Representation r = instr->GetInputRepresentation();
1403 ASSERT(instr->left()->representation().IsTagged()); 1402 ASSERT(instr->left()->representation().IsTagged());
1404 ASSERT(instr->right()->representation().IsTagged()); 1403 ASSERT(instr->right()->representation().IsTagged());
1405 bool reversed = (op == Token::GT || op == Token::LTE); 1404 bool reversed = (op == Token::GT || op == Token::LTE);
1406 LOperand* left = UseFixed(instr->left(), reversed ? r0 : r1); 1405 LOperand* left = UseFixed(instr->left(), reversed ? r0 : r1);
1407 LOperand* right = UseFixed(instr->right(), reversed ? r1 : r0); 1406 LOperand* right = UseFixed(instr->right(), reversed ? r1 : r0);
1408 LCmpT* result = new LCmpT(left, right); 1407 LCmpT* result = new LCmpT(left, right);
1409 return MarkAsCall(DefineFixed(result, r0), instr); 1408 return MarkAsCall(DefineFixed(result, r0), instr);
1410 } 1409 }
1411 1410
1412 1411
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 2181
2183 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2182 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2184 LOperand* key = UseRegisterAtStart(instr->key()); 2183 LOperand* key = UseRegisterAtStart(instr->key());
2185 LOperand* object = UseRegisterAtStart(instr->object()); 2184 LOperand* object = UseRegisterAtStart(instr->object());
2186 LIn* result = new LIn(key, object); 2185 LIn* result = new LIn(key, object);
2187 return MarkAsCall(DefineFixed(result, r0), instr); 2186 return MarkAsCall(DefineFixed(result, r0), instr);
2188 } 2187 }
2189 2188
2190 2189
2191 } } // namespace v8::internal 2190 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698