Make newer GCCs happier: Removed unused variables.

Review URL: http://codereview.chromium.org/7969014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9334 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d4bb0023
......@@ -4097,11 +4097,8 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
default: {
VisitForAccumulatorValue(expr->right());
Condition cc = no_condition;
bool strict = false;
switch (op) {
case Token::EQ_STRICT:
strict = true;
// Fall through
case Token::EQ:
cc = equal;
__ pop(edx);
......
......@@ -4050,11 +4050,8 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
default: {
VisitForAccumulatorValue(expr->right());
Condition cc = eq;
bool strict = false;
switch (op) {
case Token::EQ_STRICT:
strict = true;
// Fall through.
case Token::EQ:
cc = eq;
__ mov(a0, result_register());
......
......@@ -3972,7 +3972,6 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
Condition cc = no_condition;
switch (op) {
case Token::EQ_STRICT:
// Fall through.
case Token::EQ:
cc = equal;
__ pop(rdx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment