| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/api-natives.h" | 5 #include "src/api-natives.h" |
| 6 #include "src/api.h" | 6 #include "src/api.h" |
| 7 #include "src/asmjs/asm-wasm-builder.h" |
| 8 #include "src/asmjs/typing-asm.h" |
| 7 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
| 8 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
| 9 #include "src/ast/scopes.h" | 11 #include "src/ast/scopes.h" |
| 10 #include "src/execution.h" | 12 #include "src/execution.h" |
| 11 #include "src/factory.h" | 13 #include "src/factory.h" |
| 12 #include "src/handles.h" | 14 #include "src/handles.h" |
| 13 #include "src/isolate.h" | 15 #include "src/isolate.h" |
| 14 #include "src/objects.h" | 16 #include "src/objects.h" |
| 15 #include "src/parsing/parser.h" | 17 #include "src/parsing/parser.h" |
| 16 #include "src/typing-asm.h" | |
| 17 | 18 |
| 18 #include "src/wasm/asm-wasm-builder.h" | |
| 19 #include "src/wasm/encoder.h" | 19 #include "src/wasm/encoder.h" |
| 20 #include "src/wasm/module-decoder.h" | 20 #include "src/wasm/module-decoder.h" |
| 21 #include "src/wasm/wasm-js.h" | 21 #include "src/wasm/wasm-js.h" |
| 22 #include "src/wasm/wasm-module.h" | 22 #include "src/wasm/wasm-module.h" |
| 23 #include "src/wasm/wasm-result.h" | 23 #include "src/wasm/wasm-result.h" |
| 24 | 24 |
| 25 typedef uint8_t byte; | 25 typedef uint8_t byte; |
| 26 | 26 |
| 27 using v8::internal::wasm::ErrorThrower; | 27 using v8::internal::wasm::ErrorThrower; |
| 28 | 28 |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 int unused_property_fields = in_object_properties - pre_allocated; | 497 int unused_property_fields = in_object_properties - pre_allocated; |
| 498 Handle<Map> map = Map::CopyInitialMap( | 498 Handle<Map> map = Map::CopyInitialMap( |
| 499 prev_map, instance_size, in_object_properties, unused_property_fields); | 499 prev_map, instance_size, in_object_properties, unused_property_fields); |
| 500 | 500 |
| 501 context->set_wasm_function_map(*map); | 501 context->set_wasm_function_map(*map); |
| 502 } | 502 } |
| 503 } | 503 } |
| 504 | 504 |
| 505 } // namespace internal | 505 } // namespace internal |
| 506 } // namespace v8 | 506 } // namespace v8 |
| OLD | NEW |