From f5418265c45ce7e22fc2de224bed05611176d29a Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Thu, 21 Mar 2013 14:36:07 +0000 Subject: [PATCH] Delete leftover debugging code from InitializeMathExpData() Review URL: https://codereview.chromium.org/12858008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14030 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/assembler.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/assembler.cc b/src/assembler.cc index 8536ca006f..deef28b1f3 100644 --- a/src/assembler.cc +++ b/src/assembler.cc @@ -927,20 +927,9 @@ void ExternalReference::InitializeMathExpData() { math_exp_log_table_array = new double[kTableSize]; for (int i = 0; i < kTableSize; i++) { double value = pow(2, i / kTableSizeDouble); - uint64_t bits = BitCast(value); bits &= (static_cast(1) << 52) - 1; double mantissa = BitCast(bits); - - // - uint64_t doublebits; - memcpy(&doublebits, &value, sizeof doublebits); - doublebits &= (static_cast(1) << 52) - 1; - double mantissa2; - memcpy(&mantissa2, &doublebits, sizeof mantissa2); - CHECK_EQ(mantissa, mantissa2); - // - math_exp_log_table_array[i] = mantissa; }