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

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') | no next file with comments »
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 916
917 static ExternalReference f32_trunc_wrapper_function(Isolate* isolate); 917 static ExternalReference f32_trunc_wrapper_function(Isolate* isolate);
918 static ExternalReference f32_floor_wrapper_function(Isolate* isolate); 918 static ExternalReference f32_floor_wrapper_function(Isolate* isolate);
919 static ExternalReference f32_ceil_wrapper_function(Isolate* isolate); 919 static ExternalReference f32_ceil_wrapper_function(Isolate* isolate);
920 static ExternalReference f32_nearest_int_wrapper_function(Isolate* isolate); 920 static ExternalReference f32_nearest_int_wrapper_function(Isolate* isolate);
921 static ExternalReference f64_trunc_wrapper_function(Isolate* isolate); 921 static ExternalReference f64_trunc_wrapper_function(Isolate* isolate);
922 static ExternalReference f64_floor_wrapper_function(Isolate* isolate); 922 static ExternalReference f64_floor_wrapper_function(Isolate* isolate);
923 static ExternalReference f64_ceil_wrapper_function(Isolate* isolate); 923 static ExternalReference f64_ceil_wrapper_function(Isolate* isolate);
924 static ExternalReference f64_nearest_int_wrapper_function(Isolate* isolate); 924 static ExternalReference f64_nearest_int_wrapper_function(Isolate* isolate);
925 925
926 static ExternalReference f64_acos_wrapper_function(Isolate* isolate);
927 static ExternalReference f64_asin_wrapper_function(Isolate* isolate);
928 static ExternalReference f64_atan_wrapper_function(Isolate* isolate);
929 static ExternalReference f64_cos_wrapper_function(Isolate* isolate);
930 static ExternalReference f64_sin_wrapper_function(Isolate* isolate);
931 static ExternalReference f64_tan_wrapper_function(Isolate* isolate);
932 static ExternalReference f64_exp_wrapper_function(Isolate* isolate);
933 static ExternalReference f64_log_wrapper_function(Isolate* isolate);
934 static ExternalReference f64_atan2_wrapper_function(Isolate* isolate);
935 static ExternalReference f64_pow_wrapper_function(Isolate* isolate);
936 static ExternalReference f64_mod_wrapper_function(Isolate* isolate);
937
926 // Log support. 938 // Log support.
927 static ExternalReference log_enter_external_function(Isolate* isolate); 939 static ExternalReference log_enter_external_function(Isolate* isolate);
928 static ExternalReference log_leave_external_function(Isolate* isolate); 940 static ExternalReference log_leave_external_function(Isolate* isolate);
929 941
930 // Static data in the keyed lookup cache. 942 // Static data in the keyed lookup cache.
931 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate); 943 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate);
932 static ExternalReference keyed_lookup_cache_field_offsets(Isolate* isolate); 944 static ExternalReference keyed_lookup_cache_field_offsets(Isolate* isolate);
933 945
934 // Static variable Heap::roots_array_start() 946 // Static variable Heap::roots_array_start()
935 static ExternalReference roots_array_start(Isolate* isolate); 947 static ExternalReference roots_array_start(Isolate* isolate);
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 std::vector<ConstantPoolEntry> shared_entries; 1293 std::vector<ConstantPoolEntry> shared_entries;
1282 }; 1294 };
1283 1295
1284 Label emitted_label_; // Records pc_offset of emitted pool 1296 Label emitted_label_; // Records pc_offset of emitted pool
1285 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1297 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1286 }; 1298 };
1287 1299
1288 } // namespace internal 1300 } // namespace internal
1289 } // namespace v8 1301 } // namespace v8
1290 #endif // V8_ASSEMBLER_H_ 1302 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698