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

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

Issue 2832051: Make lint happy. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 7634 matching lines...) Expand 10 before | Expand all | Expand 10 after
7645 // After this point we have the left hand side in r1 and the right hand side 7645 // After this point we have the left hand side in r1 and the right hand side
7646 // in r0. 7646 // in r0.
7647 if (lhs.is(r0)) { 7647 if (lhs.is(r0)) {
7648 __ Swap(r0, r1, ip); 7648 __ Swap(r0, r1, ip);
7649 } 7649 }
7650 7650
7651 // The type transition also calculates the answer. 7651 // The type transition also calculates the answer.
7652 bool generate_code_to_calculate_answer = true; 7652 bool generate_code_to_calculate_answer = true;
7653 7653
7654 if (ShouldGenerateFPCode()) { 7654 if (ShouldGenerateFPCode()) {
7655
7656 if (runtime_operands_type_ == BinaryOpIC::DEFAULT) { 7655 if (runtime_operands_type_ == BinaryOpIC::DEFAULT) {
7657 switch (op_) { 7656 switch (op_) {
7658 case Token::ADD: 7657 case Token::ADD:
7659 case Token::SUB: 7658 case Token::SUB:
7660 case Token::MUL: 7659 case Token::MUL:
7661 case Token::DIV: 7660 case Token::DIV:
7662 GenerateTypeTransition(masm); // Tail call. 7661 GenerateTypeTransition(masm); // Tail call.
7663 generate_code_to_calculate_answer = false; 7662 generate_code_to_calculate_answer = false;
7664 break; 7663 break;
7665 7664
(...skipping 3542 matching lines...) Expand 10 before | Expand all | Expand 10 after
11208 __ bind(&string_add_runtime); 11207 __ bind(&string_add_runtime);
11209 __ TailCallRuntime(Runtime::kStringAdd, 2, 1); 11208 __ TailCallRuntime(Runtime::kStringAdd, 2, 1);
11210 } 11209 }
11211 11210
11212 11211
11213 #undef __ 11212 #undef __
11214 11213
11215 } } // namespace v8::internal 11214 } } // namespace v8::internal
11216 11215
11217 #endif // V8_TARGET_ARCH_ARM 11216 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698