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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 Add(ExternalReference::wasm_f64_nearest_int(isolate).address(), | 116 Add(ExternalReference::wasm_f64_nearest_int(isolate).address(), |
117 "wasm::f64_nearest_int_wrapper"); | 117 "wasm::f64_nearest_int_wrapper"); |
118 Add(ExternalReference::wasm_int64_to_float32(isolate).address(), | 118 Add(ExternalReference::wasm_int64_to_float32(isolate).address(), |
119 "wasm::int64_to_float32_wrapper"); | 119 "wasm::int64_to_float32_wrapper"); |
120 Add(ExternalReference::wasm_uint64_to_float32(isolate).address(), | 120 Add(ExternalReference::wasm_uint64_to_float32(isolate).address(), |
121 "wasm::uint64_to_float32_wrapper"); | 121 "wasm::uint64_to_float32_wrapper"); |
122 Add(ExternalReference::wasm_int64_to_float64(isolate).address(), | 122 Add(ExternalReference::wasm_int64_to_float64(isolate).address(), |
123 "wasm::int64_to_float64_wrapper"); | 123 "wasm::int64_to_float64_wrapper"); |
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(), |
| 127 "wasm::float32_to_int64_wrapper"); |
| 128 Add(ExternalReference::wasm_float32_to_uint64(isolate).address(), |
| 129 "wasm::float32_to_uint64_wrapper"); |
| 130 Add(ExternalReference::wasm_float64_to_int64(isolate).address(), |
| 131 "wasm::float64_to_int64_wrapper"); |
| 132 Add(ExternalReference::wasm_float64_to_uint64(isolate).address(), |
| 133 "wasm::float64_to_uint64_wrapper"); |
126 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), | 134 Add(ExternalReference::f64_acos_wrapper_function(isolate).address(), |
127 "f64_acos_wrapper"); | 135 "f64_acos_wrapper"); |
128 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), | 136 Add(ExternalReference::f64_asin_wrapper_function(isolate).address(), |
129 "f64_asin_wrapper"); | 137 "f64_asin_wrapper"); |
130 Add(ExternalReference::f64_atan_wrapper_function(isolate).address(), | 138 Add(ExternalReference::f64_atan_wrapper_function(isolate).address(), |
131 "f64_atan_wrapper"); | 139 "f64_atan_wrapper"); |
132 Add(ExternalReference::f64_cos_wrapper_function(isolate).address(), | 140 Add(ExternalReference::f64_cos_wrapper_function(isolate).address(), |
133 "f64_cos_wrapper"); | 141 "f64_cos_wrapper"); |
134 Add(ExternalReference::f64_sin_wrapper_function(isolate).address(), | 142 Add(ExternalReference::f64_sin_wrapper_function(isolate).address(), |
135 "f64_sin_wrapper"); | 143 "f64_sin_wrapper"); |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 if (cache->at(i)->IsUndefined()) break; | 404 if (cache->at(i)->IsUndefined()) break; |
397 } | 405 } |
398 } | 406 } |
399 | 407 |
400 bool SerializerDeserializer::CanBeDeferred(HeapObject* o) { | 408 bool SerializerDeserializer::CanBeDeferred(HeapObject* o) { |
401 return !o->IsString() && !o->IsScript(); | 409 return !o->IsString() && !o->IsScript(); |
402 } | 410 } |
403 | 411 |
404 } // namespace internal | 412 } // namespace internal |
405 } // namespace v8 | 413 } // namespace v8 |
OLD | NEW |