Remove bogus cast in LChunkBuilder::CreateEnvironment.

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
parent cff21dc1
......@@ -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(),
......
......@@ -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(),
......
......@@ -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(),
......
......@@ -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(),
......
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