| Index: src/runtime/runtime-test.cc
|
| diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc
|
| index 25e516c3808bb19fa6f09d08c485a81dee2a0e12..9ec29b9d4d365477eada258142a6d096bdae45b6 100644
|
| --- a/src/runtime/runtime-test.cc
|
| +++ b/src/runtime/runtime-test.cc
|
| @@ -14,6 +14,15 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +RUNTIME_FUNCTION(Runtime_ConstructDouble) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 2);
|
| + CONVERT_NUMBER_CHECKED(uint32_t, hi, Uint32, args[0]);
|
| + CONVERT_NUMBER_CHECKED(uint32_t, lo, Uint32, args[1]);
|
| + uint64_t result = (static_cast<uint64_t>(hi) << 32) | lo;
|
| + return *isolate->factory()->NewNumber(uint64_to_double(result));
|
| +}
|
| +
|
| RUNTIME_FUNCTION(Runtime_DeoptimizeFunction) {
|
| HandleScope scope(isolate);
|
| DCHECK(args.length() == 1);
|
|
|