| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1344 | 1344 |
| 1345 static void f64_exp_wrapper(double* param) { | 1345 static void f64_exp_wrapper(double* param) { |
| 1346 WriteDoubleValue(param, std::exp(ReadDoubleValue(param))); | 1346 WriteDoubleValue(param, std::exp(ReadDoubleValue(param))); |
| 1347 } | 1347 } |
| 1348 | 1348 |
| 1349 ExternalReference ExternalReference::f64_exp_wrapper_function( | 1349 ExternalReference ExternalReference::f64_exp_wrapper_function( |
| 1350 Isolate* isolate) { | 1350 Isolate* isolate) { |
| 1351 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_exp_wrapper))); | 1351 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_exp_wrapper))); |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 static void f64_log_wrapper(double* param) { | |
| 1355 WriteDoubleValue(param, std::log(ReadDoubleValue(param))); | |
| 1356 } | |
| 1357 | |
| 1358 ExternalReference ExternalReference::f64_log_wrapper_function( | |
| 1359 Isolate* isolate) { | |
| 1360 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_log_wrapper))); | |
| 1361 } | |
| 1362 | |
| 1363 static void f64_pow_wrapper(double* param0, double* param1) { | 1354 static void f64_pow_wrapper(double* param0, double* param1) { |
| 1364 WriteDoubleValue(param0, power_double_double(ReadDoubleValue(param0), | 1355 WriteDoubleValue(param0, power_double_double(ReadDoubleValue(param0), |
| 1365 ReadDoubleValue(param1))); | 1356 ReadDoubleValue(param1))); |
| 1366 } | 1357 } |
| 1367 | 1358 |
| 1368 ExternalReference ExternalReference::f64_pow_wrapper_function( | 1359 ExternalReference ExternalReference::f64_pow_wrapper_function( |
| 1369 Isolate* isolate) { | 1360 Isolate* isolate) { |
| 1370 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_pow_wrapper))); | 1361 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_pow_wrapper))); |
| 1371 } | 1362 } |
| 1372 | 1363 |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2106 | 2097 |
| 2107 | 2098 |
| 2108 void Assembler::DataAlign(int m) { | 2099 void Assembler::DataAlign(int m) { |
| 2109 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2100 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2110 while ((pc_offset() & (m - 1)) != 0) { | 2101 while ((pc_offset() & (m - 1)) != 0) { |
| 2111 db(0); | 2102 db(0); |
| 2112 } | 2103 } |
| 2113 } | 2104 } |
| 2114 } // namespace internal | 2105 } // namespace internal |
| 2115 } // namespace v8 | 2106 } // namespace v8 |
| OLD | NEW |