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 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 | 1252 |
1253 static void f64_asin_wrapper(double* param) { | 1253 static void f64_asin_wrapper(double* param) { |
1254 WriteDoubleValue(param, std::asin(ReadDoubleValue(param))); | 1254 WriteDoubleValue(param, std::asin(ReadDoubleValue(param))); |
1255 } | 1255 } |
1256 | 1256 |
1257 ExternalReference ExternalReference::f64_asin_wrapper_function( | 1257 ExternalReference ExternalReference::f64_asin_wrapper_function( |
1258 Isolate* isolate) { | 1258 Isolate* isolate) { |
1259 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_asin_wrapper))); | 1259 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_asin_wrapper))); |
1260 } | 1260 } |
1261 | 1261 |
1262 static void f64_pow_wrapper(double* param0, double* param1) { | |
1263 WriteDoubleValue(param0, power_double_double(ReadDoubleValue(param0), | |
1264 ReadDoubleValue(param1))); | |
1265 } | |
1266 | |
1267 ExternalReference ExternalReference::f64_pow_wrapper_function( | |
1268 Isolate* isolate) { | |
1269 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_pow_wrapper))); | |
1270 } | |
1271 | |
1272 static void f64_mod_wrapper(double* param0, double* param1) { | 1262 static void f64_mod_wrapper(double* param0, double* param1) { |
1273 WriteDoubleValue(param0, | 1263 WriteDoubleValue(param0, |
1274 modulo(ReadDoubleValue(param0), ReadDoubleValue(param1))); | 1264 modulo(ReadDoubleValue(param0), ReadDoubleValue(param1))); |
1275 } | 1265 } |
1276 | 1266 |
1277 ExternalReference ExternalReference::f64_mod_wrapper_function( | 1267 ExternalReference ExternalReference::f64_mod_wrapper_function( |
1278 Isolate* isolate) { | 1268 Isolate* isolate) { |
1279 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_mod_wrapper))); | 1269 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_mod_wrapper))); |
1280 } | 1270 } |
1281 | 1271 |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2013 | 2003 |
2014 | 2004 |
2015 void Assembler::DataAlign(int m) { | 2005 void Assembler::DataAlign(int m) { |
2016 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2006 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2017 while ((pc_offset() & (m - 1)) != 0) { | 2007 while ((pc_offset() & (m - 1)) != 0) { |
2018 db(0); | 2008 db(0); |
2019 } | 2009 } |
2020 } | 2010 } |
2021 } // namespace internal | 2011 } // namespace internal |
2022 } // namespace v8 | 2012 } // namespace v8 |
OLD | NEW |