Reverted some code which got accidentally committed as part of another commit.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 May 2011 14:39:19 +0000 (14:39 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 May 2011 14:39:19 +0000 (14:39 +0000)
TBR=vitalyr@chromium.org
Review URL: http://codereview.chromium.org/6994011

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

src/hydrogen.cc

index 4bb895fcd0fc042f5ae9ca2f9193eb8101a1e4a4..70db9db69bfdce939d051a405721c88ed3689cd6 100644 (file)
@@ -4637,10 +4637,6 @@ void HGraphBuilder::VisitSub(UnaryOperation* expr) {
   CHECK_ALIVE(VisitForValue(expr->expression()));
   HValue* value = Pop();
   HInstruction* instr = new(zone()) HMul(value, graph_->GetConstantMinus1());
-
-  Representation rep = ToRepresentation(oracle()->UnaryType(expr));
-  AssumeRepresentation(instr, rep);
-
   ast_context()->ReturnInstruction(instr, expr->id());
 }