Remove bogus cast in LChunkBuilder::CreateEnvironment.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 14 Jun 2013 09:02:11 +0000 (09:02 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 14 Jun 2013 09:02:11 +0000 (09:02 +0000)
R=jkummerow@chromium.org
TEST=chromium:content_browsertests

Review URL: https://codereview.chromium.org/17057002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15141 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/arm/lithium-arm.cc
src/ia32/lithium-ia32.cc
src/mips/lithium-mips.cc
src/x64/lithium-x64.cc

index 1d4ed5f..e468b11 100644 (file)
@@ -968,7 +968,6 @@ LEnvironment* LChunkBuilder::CreateEnvironment(
     for (int i = 1; i < arguments->arguments_count(); ++i) {
       HValue* value = arguments->arguments_values()->at(i);
       ASSERT(!value->IsArgumentsObject() && !value->IsPushArgument());
-      ASSERT(HInstruction::cast(value)->IsLinked());
       LOperand* op = UseAny(value);
       result->AddValue(op,
                        value->representation(),
index 216872d..e85c79c 100644 (file)
@@ -1029,7 +1029,6 @@ LEnvironment* LChunkBuilder::CreateEnvironment(
     for (int i = 1; i < arguments->arguments_count(); ++i) {
       HValue* value = arguments->arguments_values()->at(i);
       ASSERT(!value->IsArgumentsObject() && !value->IsPushArgument());
-      ASSERT(HInstruction::cast(value)->IsLinked());
       LOperand* op = UseAny(value);
       result->AddValue(op,
                        value->representation(),
index 4225454..d4f450e 100644 (file)
@@ -972,7 +972,6 @@ LEnvironment* LChunkBuilder::CreateEnvironment(
     for (int i = 1; i < arguments->arguments_count(); ++i) {
       HValue* value = arguments->arguments_values()->at(i);
       ASSERT(!value->IsArgumentsObject() && !value->IsPushArgument());
-      ASSERT(HInstruction::cast(value)->IsLinked());
       LOperand* op = UseAny(value);
       result->AddValue(op,
                        value->representation(),
index 57a8b2e..5d37221 100644 (file)
@@ -976,7 +976,6 @@ LEnvironment* LChunkBuilder::CreateEnvironment(
     for (int i = 1; i < arguments->arguments_count(); ++i) {
       HValue* value = arguments->arguments_values()->at(i);
       ASSERT(!value->IsArgumentsObject() && !value->IsPushArgument());
-      ASSERT(HInstruction::cast(value)->IsLinked());
       LOperand* op = UseAny(value);
       result->AddValue(op,
                        value->representation(),