| Index: src/hydrogen-sce.h
|
| diff --git a/test/cctest/gay-shortest.h b/src/hydrogen-sce.h
|
| similarity index 81%
|
| copy from test/cctest/gay-shortest.h
|
| copy to src/hydrogen-sce.h
|
| index 9b512148e6e0885988190476ef97353e4a7bf769..55e153e0ed5ee3481669ee5c991f81238d51176e 100644
|
| --- a/test/cctest/gay-shortest.h
|
| +++ b/src/hydrogen-sce.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2013 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,20 +25,24 @@
|
| // (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 GAY_SHORTEST_H_
|
| -#define GAY_SHORTEST_H_
|
| +#ifndef V8_HYDROGEN_SCE_H_
|
| +#define V8_HYDROGEN_SCE_H_
|
| +
|
| +#include "hydrogen.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -struct PrecomputedShortest {
|
| - double v;
|
| - const char* representation;
|
| - int decimal_point;
|
| +
|
| +class HStackCheckEliminationPhase : public HPhase {
|
| + public:
|
| + explicit HStackCheckEliminationPhase(HGraph* graph)
|
| + : HPhase("H_Stack check elimination", graph) { }
|
| +
|
| + void Run();
|
| };
|
|
|
| -Vector<const PrecomputedShortest> PrecomputedShortestRepresentations();
|
|
|
| } } // namespace v8::internal
|
|
|
| -#endif // GAY_SHORTEST_H_
|
| +#endif // V8_HYDROGEN_SCE_H_
|
|
|