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

Side by Side Diff: src/assembler.h

Issue 2562393002: [wasm] Introduce the TrapIf and TrapUnless operators to generate trap code. (Closed)
Patch Set: Rename UseSourcePosition to IsSourcePositionUsed Created 4 years 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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 static ExternalReference wasm_word32_ctz(Isolate* isolate); 936 static ExternalReference wasm_word32_ctz(Isolate* isolate);
937 static ExternalReference wasm_word64_ctz(Isolate* isolate); 937 static ExternalReference wasm_word64_ctz(Isolate* isolate);
938 static ExternalReference wasm_word32_popcnt(Isolate* isolate); 938 static ExternalReference wasm_word32_popcnt(Isolate* isolate);
939 static ExternalReference wasm_word64_popcnt(Isolate* isolate); 939 static ExternalReference wasm_word64_popcnt(Isolate* isolate);
940 static ExternalReference wasm_float64_pow(Isolate* isolate); 940 static ExternalReference wasm_float64_pow(Isolate* isolate);
941 941
942 static ExternalReference f64_acos_wrapper_function(Isolate* isolate); 942 static ExternalReference f64_acos_wrapper_function(Isolate* isolate);
943 static ExternalReference f64_asin_wrapper_function(Isolate* isolate); 943 static ExternalReference f64_asin_wrapper_function(Isolate* isolate);
944 static ExternalReference f64_mod_wrapper_function(Isolate* isolate); 944 static ExternalReference f64_mod_wrapper_function(Isolate* isolate);
945 945
946 // Trap callback function for cctest/wasm/wasm-run-utils.h
947 static ExternalReference wasm_call_trap_callback_for_testing(
948 Isolate* isolate);
949
946 // Log support. 950 // Log support.
947 static ExternalReference log_enter_external_function(Isolate* isolate); 951 static ExternalReference log_enter_external_function(Isolate* isolate);
948 static ExternalReference log_leave_external_function(Isolate* isolate); 952 static ExternalReference log_leave_external_function(Isolate* isolate);
949 953
950 // Static variable Heap::roots_array_start() 954 // Static variable Heap::roots_array_start()
951 static ExternalReference roots_array_start(Isolate* isolate); 955 static ExternalReference roots_array_start(Isolate* isolate);
952 956
953 // Static variable Heap::allocation_sites_list_address() 957 // Static variable Heap::allocation_sites_list_address()
954 static ExternalReference allocation_sites_list_address(Isolate* isolate); 958 static ExternalReference allocation_sites_list_address(Isolate* isolate);
955 959
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 std::vector<ConstantPoolEntry> shared_entries; 1282 std::vector<ConstantPoolEntry> shared_entries;
1279 }; 1283 };
1280 1284
1281 Label emitted_label_; // Records pc_offset of emitted pool 1285 Label emitted_label_; // Records pc_offset of emitted pool
1282 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1286 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1283 }; 1287 };
1284 1288
1285 } // namespace internal 1289 } // namespace internal
1286 } // namespace v8 1290 } // namespace v8
1287 #endif // V8_ASSEMBLER_H_ 1291 #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