OLD | NEW |
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/snapshot/serializer-common.h" | 5 #include "src/snapshot/serializer-common.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/counters.h" | 9 #include "src/counters.h" |
10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 Add(ExternalReference::wasm_uint64_to_float64(isolate).address(), | 124 Add(ExternalReference::wasm_uint64_to_float64(isolate).address(), |
125 "wasm::uint64_to_float64_wrapper"); | 125 "wasm::uint64_to_float64_wrapper"); |
126 Add(ExternalReference::wasm_float32_to_int64(isolate).address(), | 126 Add(ExternalReference::wasm_float32_to_int64(isolate).address(), |
127 "wasm::float32_to_int64_wrapper"); | 127 "wasm::float32_to_int64_wrapper"); |
128 Add(ExternalReference::wasm_float32_to_uint64(isolate).address(), | 128 Add(ExternalReference::wasm_float32_to_uint64(isolate).address(), |
129 "wasm::float32_to_uint64_wrapper"); | 129 "wasm::float32_to_uint64_wrapper"); |
130 Add(ExternalReference::wasm_float64_to_int64(isolate).address(), | 130 Add(ExternalReference::wasm_float64_to_int64(isolate).address(), |
131 "wasm::float64_to_int64_wrapper"); | 131 "wasm::float64_to_int64_wrapper"); |
132 Add(ExternalReference::wasm_float64_to_uint64(isolate).address(), | 132 Add(ExternalReference::wasm_float64_to_uint64(isolate).address(), |
133 "wasm::float64_to_uint64_wrapper"); | 133 "wasm::float64_to_uint64_wrapper"); |
| 134 Add(ExternalReference::wasm_int64_div(isolate).address(), "wasm::int64_div"); |
| 135 Add(ExternalReference::wasm_int64_mod(isolate).address(), "wasm::int64_mod"); |
| 136 Add(ExternalReference::wasm_uint64_div(isolate).address(), |
| 137 "wasm::uint64_div"); |
| 138 Add(ExternalReference::wasm_uint64_mod(isolate).address(), |
| 139 "wasm::uint64_mod"); |
134 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), | 140 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), |
135 "f64_acos_wrapper"); | 141 "f64_acos_wrapper"); |
136 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), | 142 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), |
137 "f64_asin_wrapper"); | 143 "f64_asin_wrapper"); |
138 Add(ExternalReference::f64_atan_wrapper_function(isolate).address(), | 144 Add(ExternalReference::f64_atan_wrapper_function(isolate).address(), |
139 "f64_atan_wrapper"); | 145 "f64_atan_wrapper"); |
140 Add(ExternalReference::f64_cos_wrapper_function(isolate).address(), | 146 Add(ExternalReference::f64_cos_wrapper_function(isolate).address(), |
141 "f64_cos_wrapper"); | 147 "f64_cos_wrapper"); |
142 Add(ExternalReference::f64_sin_wrapper_function(isolate).address(), | 148 Add(ExternalReference::f64_sin_wrapper_function(isolate).address(), |
143 "f64_sin_wrapper"); | 149 "f64_sin_wrapper"); |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 if (cache->at(i)->IsUndefined()) break; | 410 if (cache->at(i)->IsUndefined()) break; |
405 } | 411 } |
406 } | 412 } |
407 | 413 |
408 bool SerializerDeserializer::CanBeDeferred(HeapObject* o) { | 414 bool SerializerDeserializer::CanBeDeferred(HeapObject* o) { |
409 return !o->IsString() && !o->IsScript(); | 415 return !o->IsString() && !o->IsScript(); |
410 } | 416 } |
411 | 417 |
412 } // namespace internal | 418 } // namespace internal |
413 } // namespace v8 | 419 } // namespace v8 |
OLD | NEW |