Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: src/assembler.h

Issue 1729833002: Add wasm internal opcodes for asm.js stdlib functions we're missing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | src/assembler.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 915
916 static ExternalReference f32_trunc_wrapper_function(Isolate* isolate); 916 static ExternalReference f32_trunc_wrapper_function(Isolate* isolate);
917 static ExternalReference f32_floor_wrapper_function(Isolate* isolate); 917 static ExternalReference f32_floor_wrapper_function(Isolate* isolate);
918 static ExternalReference f32_ceil_wrapper_function(Isolate* isolate); 918 static ExternalReference f32_ceil_wrapper_function(Isolate* isolate);
919 static ExternalReference f32_nearest_int_wrapper_function(Isolate* isolate); 919 static ExternalReference f32_nearest_int_wrapper_function(Isolate* isolate);
920 static ExternalReference f64_trunc_wrapper_function(Isolate* isolate); 920 static ExternalReference f64_trunc_wrapper_function(Isolate* isolate);
921 static ExternalReference f64_floor_wrapper_function(Isolate* isolate); 921 static ExternalReference f64_floor_wrapper_function(Isolate* isolate);
922 static ExternalReference f64_ceil_wrapper_function(Isolate* isolate); 922 static ExternalReference f64_ceil_wrapper_function(Isolate* isolate);
923 static ExternalReference f64_nearest_int_wrapper_function(Isolate* isolate); 923 static ExternalReference f64_nearest_int_wrapper_function(Isolate* isolate);
924 924
925 static ExternalReference f64_acos_wrapper_function(Isolate* isolate);
926 static ExternalReference f64_asin_wrapper_function(Isolate* isolate);
927 static ExternalReference f64_atan_wrapper_function(Isolate* isolate);
928 static ExternalReference f64_cos_wrapper_function(Isolate* isolate);
929 static ExternalReference f64_sin_wrapper_function(Isolate* isolate);
930 static ExternalReference f64_tan_wrapper_function(Isolate* isolate);
931 static ExternalReference f64_exp_wrapper_function(Isolate* isolate);
932 static ExternalReference f64_log_wrapper_function(Isolate* isolate);
933 static ExternalReference f64_atan2_wrapper_function(Isolate* isolate);
934 static ExternalReference f64_pow_wrapper_function(Isolate* isolate);
935 static ExternalReference f64_mod_wrapper_function(Isolate* isolate);
936
925 // Log support. 937 // Log support.
926 static ExternalReference log_enter_external_function(Isolate* isolate); 938 static ExternalReference log_enter_external_function(Isolate* isolate);
927 static ExternalReference log_leave_external_function(Isolate* isolate); 939 static ExternalReference log_leave_external_function(Isolate* isolate);
928 940
929 // Static data in the keyed lookup cache. 941 // Static data in the keyed lookup cache.
930 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate); 942 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate);
931 static ExternalReference keyed_lookup_cache_field_offsets(Isolate* isolate); 943 static ExternalReference keyed_lookup_cache_field_offsets(Isolate* isolate);
932 944
933 // Static variable Heap::roots_array_start() 945 // Static variable Heap::roots_array_start()
934 static ExternalReference roots_array_start(Isolate* isolate); 946 static ExternalReference roots_array_start(Isolate* isolate);
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 std::vector<ConstantPoolEntry> shared_entries; 1308 std::vector<ConstantPoolEntry> shared_entries;
1297 }; 1309 };
1298 1310
1299 Label emitted_label_; // Records pc_offset of emitted pool 1311 Label emitted_label_; // Records pc_offset of emitted pool
1300 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1312 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1301 }; 1313 };
1302 1314
1303 } // namespace internal 1315 } // namespace internal
1304 } // namespace v8 1316 } // namespace v8
1305 #endif // V8_ASSEMBLER_H_ 1317 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | src/assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698