| 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-js.h" | 7 #include "src/asmjs/asm-js.h" |
| 8 #include "src/asmjs/asm-typer.h" | 8 #include "src/asmjs/asm-typer.h" |
| 9 #include "src/asmjs/asm-wasm-builder.h" | 9 #include "src/asmjs/asm-wasm-builder.h" |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| 11 #include "src/ast/ast.h" | 11 #include "src/ast/ast.h" |
| 12 #include "src/ast/scopes.h" | 12 #include "src/ast/scopes.h" |
| 13 #include "src/compiler.h" |
| 13 #include "src/execution.h" | 14 #include "src/execution.h" |
| 14 #include "src/factory.h" | 15 #include "src/factory.h" |
| 15 #include "src/handles.h" | 16 #include "src/handles.h" |
| 16 #include "src/isolate.h" | 17 #include "src/isolate.h" |
| 17 #include "src/objects.h" | 18 #include "src/objects.h" |
| 18 #include "src/parsing/parser.h" | 19 #include "src/parsing/parse-info.h" |
| 19 | 20 |
| 20 #include "src/wasm/encoder.h" | 21 #include "src/wasm/encoder.h" |
| 21 #include "src/wasm/module-decoder.h" | 22 #include "src/wasm/module-decoder.h" |
| 22 #include "src/wasm/wasm-js.h" | 23 #include "src/wasm/wasm-js.h" |
| 23 #include "src/wasm/wasm-module.h" | 24 #include "src/wasm/wasm-module.h" |
| 24 #include "src/wasm/wasm-result.h" | 25 #include "src/wasm/wasm-result.h" |
| 25 | 26 |
| 26 typedef uint8_t byte; | 27 typedef uint8_t byte; |
| 27 | 28 |
| 28 using v8::internal::wasm::ErrorThrower; | 29 using v8::internal::wasm::ErrorThrower; |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 int unused_property_fields = in_object_properties - pre_allocated; | 531 int unused_property_fields = in_object_properties - pre_allocated; |
| 531 Handle<Map> map = Map::CopyInitialMap( | 532 Handle<Map> map = Map::CopyInitialMap( |
| 532 prev_map, instance_size, in_object_properties, unused_property_fields); | 533 prev_map, instance_size, in_object_properties, unused_property_fields); |
| 533 | 534 |
| 534 context->set_wasm_function_map(*map); | 535 context->set_wasm_function_map(*map); |
| 535 } | 536 } |
| 536 } | 537 } |
| 537 | 538 |
| 538 } // namespace internal | 539 } // namespace internal |
| 539 } // namespace v8 | 540 } // namespace v8 |
| OLD | NEW |