From db64cd9a75ad56a9d17a0ecee5cdc9c6c6032081 Mon Sep 17 00:00:00 2001 From: "sgjesse@chromium.org" Date: Thu, 7 Jan 2010 13:17:37 +0000 Subject: [PATCH] Fix wrong asserts from r3554 Review URL: http://codereview.chromium.org/523128 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3561 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm/codegen-arm.cc | 2 +- src/x64/codegen-x64.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc index 2cdc2fac0..589c2fb43 100644 --- a/src/arm/codegen-arm.cc +++ b/src/arm/codegen-arm.cc @@ -3452,7 +3452,7 @@ void CodeGenerator::GenerateStringAdd(ZoneList* args) { void CodeGenerator::GenerateSubString(ZoneList* args) { - ASSERT_EQ(2, args->length()); + ASSERT_EQ(3, args->length()); Load(args->at(0)); Load(args->at(1)); diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc index e24535a13..737ba83b4 100644 --- a/src/x64/codegen-x64.cc +++ b/src/x64/codegen-x64.cc @@ -3902,7 +3902,7 @@ void CodeGenerator::GenerateStringAdd(ZoneList* args) { void CodeGenerator::GenerateSubString(ZoneList* args) { - ASSERT_EQ(2, args->length()); + ASSERT_EQ(3, args->length()); Load(args->at(0)); Load(args->at(1)); -- 2.34.1