| Index: src/zone-containers.h
|
| diff --git a/src/hydrogen-sce.h b/src/zone-containers.h
|
| similarity index 80%
|
| copy from src/hydrogen-sce.h
|
| copy to src/zone-containers.h
|
| index 55e153e0ed5ee3481669ee5c991f81238d51176e..31672b62dbf0b4a2926f8354a4bc1b4da6c534ca 100644
|
| --- a/src/hydrogen-sce.h
|
| +++ b/src/zone-containers.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2013 the V8 project authors. All rights reserved.
|
| +// Copyright 2014 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:
|
| @@ -25,24 +25,22 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -#ifndef V8_HYDROGEN_SCE_H_
|
| -#define V8_HYDROGEN_SCE_H_
|
| +#ifndef V8_ZONE_CONTAINERS_H_
|
| +#define V8_ZONE_CONTAINERS_H_
|
|
|
| -#include "hydrogen.h"
|
| +#include <vector>
|
| +#include <set>
|
| +
|
| +#include "zone.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -
|
| -class HStackCheckEliminationPhase : public HPhase {
|
| - public:
|
| - explicit HStackCheckEliminationPhase(HGraph* graph)
|
| - : HPhase("H_Stack check elimination", graph) { }
|
| -
|
| - void Run();
|
| -};
|
| -
|
| +typedef zone_allocator<int> ZoneIntAllocator;
|
| +typedef std::vector<int, ZoneIntAllocator> IntVector;
|
| +typedef IntVector::iterator IntVectorIter;
|
| +typedef IntVector::reverse_iterator IntVectorRIter;
|
|
|
| } } // namespace v8::internal
|
|
|
| -#endif // V8_HYDROGEN_SCE_H_
|
| +#endif // V8_ZONE_CONTAINERS_H_
|
|
|