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

Side by Side Diff: src/mips/full-codegen-mips.cc

Issue 7969014: Make newer GCCs happier: Removed unused variables. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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/ia32/full-codegen-ia32.cc ('k') | src/x64/full-codegen-x64.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 4032 matching lines...) Expand 10 before | Expand all | Expand 10 after
4043 __ CallStub(&stub); 4043 __ CallStub(&stub);
4044 PrepareForBailoutBeforeSplit(TOS_REG, true, if_true, if_false); 4044 PrepareForBailoutBeforeSplit(TOS_REG, true, if_true, if_false);
4045 // The stub returns 0 for true. 4045 // The stub returns 0 for true.
4046 Split(eq, v0, Operand(zero_reg), if_true, if_false, fall_through); 4046 Split(eq, v0, Operand(zero_reg), if_true, if_false, fall_through);
4047 break; 4047 break;
4048 } 4048 }
4049 4049
4050 default: { 4050 default: {
4051 VisitForAccumulatorValue(expr->right()); 4051 VisitForAccumulatorValue(expr->right());
4052 Condition cc = eq; 4052 Condition cc = eq;
4053 bool strict = false;
4054 switch (op) { 4053 switch (op) {
4055 case Token::EQ_STRICT: 4054 case Token::EQ_STRICT:
4056 strict = true;
4057 // Fall through.
4058 case Token::EQ: 4055 case Token::EQ:
4059 cc = eq; 4056 cc = eq;
4060 __ mov(a0, result_register()); 4057 __ mov(a0, result_register());
4061 __ pop(a1); 4058 __ pop(a1);
4062 break; 4059 break;
4063 case Token::LT: 4060 case Token::LT:
4064 cc = lt; 4061 cc = lt;
4065 __ mov(a0, result_register()); 4062 __ mov(a0, result_register());
4066 __ pop(a1); 4063 __ pop(a1);
4067 break; 4064 break;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
4254 *context_length = 0; 4251 *context_length = 0;
4255 return previous_; 4252 return previous_;
4256 } 4253 }
4257 4254
4258 4255
4259 #undef __ 4256 #undef __
4260 4257
4261 } } // namespace v8::internal 4258 } } // namespace v8::internal
4262 4259
4263 #endif // V8_TARGET_ARCH_MIPS 4260 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698