| Index: test/cctest/gay-shortest.cc
|
| ===================================================================
|
| --- test/cctest/gay-shortest.cc (revision 4591)
|
| +++ test/cctest/gay-shortest.cc (working copy)
|
| @@ -36,7 +36,7 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -static const PrecomputedShortest kShortestTestNumbers[] = {
|
| +static const GayShortest kShortestTestNumbers[] = {
|
| {1.3252057186783201350530603e-106, "13252057186783201", -105},
|
| {1.6899223998841386493367055e-33, "16899223998841386", -32},
|
| {1.0077972445720390730768089e+138, "1007797244572039", 139},
|
| @@ -100040,11 +100040,9 @@
|
| };
|
|
|
|
|
| -Vector<const PrecomputedShortest> PrecomputedShortestRepresentations() {
|
| - int number_elements =
|
| - sizeof(kShortestTestNumbers) / sizeof(PrecomputedShortest);
|
| - return Vector<const PrecomputedShortest>(kShortestTestNumbers,
|
| - number_elements);
|
| +Vector<const GayShortest> PrecomputedShortestRepresentations() {
|
| + int number_elements = sizeof(kShortestTestNumbers) / sizeof(GayShortest);
|
| + return Vector<const GayShortest>(kShortestTestNumbers, number_elements);
|
| }
|
|
|
| } } // namespace v8::internal
|
|
|