| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 9a263a537002e52c26d91d719a307db7492eaf2c..78cf9700327c5e2d87aead80db1ff09bc0d84c65 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2010 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -28,10 +28,10 @@
|
| #include "v8.h"
|
|
|
| #include "ast.h"
|
| -#include "jump-target-inl.h"
|
| #include "parser.h"
|
| #include "scopes.h"
|
| #include "string-stream.h"
|
| +#include "type-info.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -291,7 +291,7 @@ void ObjectLiteral::CalculateEmitStore() {
|
| }
|
|
|
|
|
| -void TargetCollector::AddTarget(BreakTarget* target) {
|
| +void TargetCollector::AddTarget(Label* target) {
|
| // Add the label to the collector, but discard duplicates.
|
| int length = targets_->length();
|
| for (int i = 0; i < length; i++) {
|
| @@ -368,12 +368,6 @@ bool Expression::GuaranteedSmiResult() {
|
| }
|
|
|
|
|
| -void Expression::CopyAnalysisResultsFrom(Expression* other) {
|
| - bitfields_ = other->bitfields_;
|
| - type_ = other->type_;
|
| -}
|
| -
|
| -
|
| bool UnaryOperation::ResultOverwriteAllowed() {
|
| switch (op_) {
|
| case Token::BIT_NOT:
|
| @@ -416,7 +410,6 @@ BinaryOperation::BinaryOperation(Assignment* assignment) {
|
| left_ = assignment->target();
|
| right_ = assignment->value();
|
| pos_ = assignment->position();
|
| - CopyAnalysisResultsFrom(assignment);
|
| }
|
|
|
|
|
|
|