| 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 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 ExternalReference ExternalReference::wasm_float64_to_int64(Isolate* isolate) { | 1222 ExternalReference ExternalReference::wasm_float64_to_int64(Isolate* isolate) { |
| 1223 return ExternalReference( | 1223 return ExternalReference( |
| 1224 Redirect(isolate, FUNCTION_ADDR(wasm::float64_to_int64_wrapper))); | 1224 Redirect(isolate, FUNCTION_ADDR(wasm::float64_to_int64_wrapper))); |
| 1225 } | 1225 } |
| 1226 | 1226 |
| 1227 ExternalReference ExternalReference::wasm_float64_to_uint64(Isolate* isolate) { | 1227 ExternalReference ExternalReference::wasm_float64_to_uint64(Isolate* isolate) { |
| 1228 return ExternalReference( | 1228 return ExternalReference( |
| 1229 Redirect(isolate, FUNCTION_ADDR(wasm::float64_to_uint64_wrapper))); | 1229 Redirect(isolate, FUNCTION_ADDR(wasm::float64_to_uint64_wrapper))); |
| 1230 } | 1230 } |
| 1231 | 1231 |
| 1232 ExternalReference ExternalReference::wasm_int64_div(Isolate* isolate) { |
| 1233 return ExternalReference( |
| 1234 Redirect(isolate, FUNCTION_ADDR(wasm::int64_div_wrapper))); |
| 1235 } |
| 1236 |
| 1237 ExternalReference ExternalReference::wasm_int64_mod(Isolate* isolate) { |
| 1238 return ExternalReference( |
| 1239 Redirect(isolate, FUNCTION_ADDR(wasm::int64_mod_wrapper))); |
| 1240 } |
| 1241 |
| 1242 ExternalReference ExternalReference::wasm_uint64_div(Isolate* isolate) { |
| 1243 return ExternalReference( |
| 1244 Redirect(isolate, FUNCTION_ADDR(wasm::uint64_div_wrapper))); |
| 1245 } |
| 1246 |
| 1247 ExternalReference ExternalReference::wasm_uint64_mod(Isolate* isolate) { |
| 1248 return ExternalReference( |
| 1249 Redirect(isolate, FUNCTION_ADDR(wasm::uint64_mod_wrapper))); |
| 1250 } |
| 1251 |
| 1232 static void f64_acos_wrapper(double* param) { *param = std::acos(*param); } | 1252 static void f64_acos_wrapper(double* param) { *param = std::acos(*param); } |
| 1233 | 1253 |
| 1234 ExternalReference ExternalReference::f64_acos_wrapper_function( | 1254 ExternalReference ExternalReference::f64_acos_wrapper_function( |
| 1235 Isolate* isolate) { | 1255 Isolate* isolate) { |
| 1236 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_acos_wrapper))); | 1256 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(f64_acos_wrapper))); |
| 1237 } | 1257 } |
| 1238 | 1258 |
| 1239 static void f64_asin_wrapper(double* param) { *param = std::asin(*param); } | 1259 static void f64_asin_wrapper(double* param) { *param = std::asin(*param); } |
| 1240 | 1260 |
| 1241 ExternalReference ExternalReference::f64_asin_wrapper_function( | 1261 ExternalReference ExternalReference::f64_asin_wrapper_function( |
| (...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 | 2073 |
| 2054 | 2074 |
| 2055 void Assembler::DataAlign(int m) { | 2075 void Assembler::DataAlign(int m) { |
| 2056 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2076 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2057 while ((pc_offset() & (m - 1)) != 0) { | 2077 while ((pc_offset() & (m - 1)) != 0) { |
| 2058 db(0); | 2078 db(0); |
| 2059 } | 2079 } |
| 2060 } | 2080 } |
| 2061 } // namespace internal | 2081 } // namespace internal |
| 2062 } // namespace v8 | 2082 } // namespace v8 |
| OLD | NEW |