| Index: src/sh4/register-allocator-sh4.h
|
| diff --git a/test/cctest/gay-shortest.h b/src/sh4/register-allocator-sh4.h
|
| similarity index 82%
|
| copy from test/cctest/gay-shortest.h
|
| copy to src/sh4/register-allocator-sh4.h
|
| index 9b512148e6e0885988190476ef97353e4a7bf769..24c50dc43ca1f05e114ee3b692c05d69e7222987 100644
|
| --- a/test/cctest/gay-shortest.h
|
| +++ b/src/sh4/register-allocator-sh4.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2011-2012 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,19 @@
|
| // (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_SH4_REGISTER_ALLOCATOR_SH4_H_
|
| +#define V8_SH4_REGISTER_ALLOCATOR_SH4_H_
|
|
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -struct PrecomputedShortest {
|
| - double v;
|
| - const char* representation;
|
| - int decimal_point;
|
| +class RegisterAllocatorConstants : public AllStatic {
|
| + public:
|
| + static const int kNumRegisters = 5;
|
| + static const int kInvalidRegister = -1;
|
| };
|
|
|
| -Vector<const PrecomputedShortest> PrecomputedShortestRepresentations();
|
|
|
| } } // namespace v8::internal
|
|
|
| -#endif // GAY_SHORTEST_H_
|
| +#endif // V8_SH4_REGISTER_ALLOCATOR_SH4_H_
|
|
|