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

Side by Side Diff: src/external-reference-table.cc

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 | « src/compiler/x87/instruction-selector-x87.cc ('k') | src/flag-definitions.h » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/external-reference-table.h" 5 #include "src/external-reference-table.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/counters.h" 10 #include "src/counters.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 Add(ExternalReference::wasm_word32_popcnt(isolate).address(), 221 Add(ExternalReference::wasm_word32_popcnt(isolate).address(),
222 "wasm::word32_popcnt"); 222 "wasm::word32_popcnt");
223 Add(ExternalReference::wasm_word64_popcnt(isolate).address(), 223 Add(ExternalReference::wasm_word64_popcnt(isolate).address(),
224 "wasm::word64_popcnt"); 224 "wasm::word64_popcnt");
225 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), 225 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(),
226 "f64_acos_wrapper"); 226 "f64_acos_wrapper");
227 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), 227 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(),
228 "f64_asin_wrapper"); 228 "f64_asin_wrapper");
229 Add(ExternalReference::f64_mod_wrapper_function(isolate).address(), 229 Add(ExternalReference::f64_mod_wrapper_function(isolate).address(),
230 "f64_mod_wrapper"); 230 "f64_mod_wrapper");
231 Add(ExternalReference::wasm_call_trap_callback_for_testing(isolate).address(),
232 "wasm::call_trap_callback_for_testing");
231 Add(ExternalReference::log_enter_external_function(isolate).address(), 233 Add(ExternalReference::log_enter_external_function(isolate).address(),
232 "Logger::EnterExternal"); 234 "Logger::EnterExternal");
233 Add(ExternalReference::log_leave_external_function(isolate).address(), 235 Add(ExternalReference::log_leave_external_function(isolate).address(),
234 "Logger::LeaveExternal"); 236 "Logger::LeaveExternal");
235 Add(ExternalReference::address_of_minus_one_half().address(), 237 Add(ExternalReference::address_of_minus_one_half().address(),
236 "double_constants.minus_one_half"); 238 "double_constants.minus_one_half");
237 Add(ExternalReference::stress_deopt_count(isolate).address(), 239 Add(ExternalReference::stress_deopt_count(isolate).address(),
238 "Isolate::stress_deopt_count_address()"); 240 "Isolate::stress_deopt_count_address()");
239 Add(ExternalReference::runtime_function_table_address(isolate).address(), 241 Add(ExternalReference::runtime_function_table_address(isolate).address(),
240 "Runtime::runtime_function_table_address()"); 242 "Runtime::runtime_function_table_address()");
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 while (*api_external_references != 0) { 443 while (*api_external_references != 0) {
442 Address address = reinterpret_cast<Address>(*api_external_references); 444 Address address = reinterpret_cast<Address>(*api_external_references);
443 Add(address, ResolveSymbol(address)); 445 Add(address, ResolveSymbol(address));
444 api_external_references++; 446 api_external_references++;
445 } 447 }
446 } 448 }
447 } 449 }
448 450
449 } // namespace internal 451 } // namespace internal
450 } // namespace v8 452 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/x87/instruction-selector-x87.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698