From a700211937a55157774ee6fcdc336654bad716d7 Mon Sep 17 00:00:00 2001 From: "sgjesse@chromium.org" Date: Mon, 11 Apr 2011 08:59:29 +0000 Subject: [PATCH] ARM: Fix wrong fall through handling Looks like a copy/paste mistake. R=kmillikin@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org//6826031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm/full-codegen-arm.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc index fe0471f5bd..871b4539ef 100644 --- a/src/arm/full-codegen-arm.cc +++ b/src/arm/full-codegen-arm.cc @@ -431,8 +431,7 @@ void FullCodeGenerator::TestContext::Plug(Handle lit) const { if (true_label_ != fall_through_) __ b(true_label_); } else if (lit->IsString()) { if (String::cast(*lit)->length() == 0) { - if (false_label_ != fall_through_) __ b(false_label_); - __ b(false_label_); + if (false_label_ != fall_through_) __ b(false_label_); } else { if (true_label_ != fall_through_) __ b(true_label_); }