| 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/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 #include <iomanip> | 8 #include <iomanip> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <sstream> | 10 #include <sstream> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "src/prototype.h" | 53 #include "src/prototype.h" |
| 54 #include "src/regexp/jsregexp.h" | 54 #include "src/regexp/jsregexp.h" |
| 55 #include "src/safepoint-table.h" | 55 #include "src/safepoint-table.h" |
| 56 #include "src/snapshot/code-serializer.h" | 56 #include "src/snapshot/code-serializer.h" |
| 57 #include "src/source-position-table.h" | 57 #include "src/source-position-table.h" |
| 58 #include "src/string-builder.h" | 58 #include "src/string-builder.h" |
| 59 #include "src/string-search.h" | 59 #include "src/string-search.h" |
| 60 #include "src/string-stream.h" | 60 #include "src/string-stream.h" |
| 61 #include "src/utils.h" | 61 #include "src/utils.h" |
| 62 #include "src/wasm/wasm-module.h" | 62 #include "src/wasm/wasm-module.h" |
| 63 #include "src/zone.h" | 63 #include "src/zone/zone.h" |
| 64 | 64 |
| 65 #ifdef ENABLE_DISASSEMBLER | 65 #ifdef ENABLE_DISASSEMBLER |
| 66 #include "src/disasm.h" | 66 #include "src/disasm.h" |
| 67 #include "src/disassembler.h" | 67 #include "src/disassembler.h" |
| 68 #include "src/eh-frame.h" | 68 #include "src/eh-frame.h" |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 namespace v8 { | 71 namespace v8 { |
| 72 namespace internal { | 72 namespace internal { |
| 73 | 73 |
| (...skipping 19414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19488 Handle<Object> JSModule::LoadExport(Handle<JSModule> module, | 19488 Handle<Object> JSModule::LoadExport(Handle<JSModule> module, |
| 19489 Handle<String> name) { | 19489 Handle<String> name) { |
| 19490 Isolate* isolate = module->GetIsolate(); | 19490 Isolate* isolate = module->GetIsolate(); |
| 19491 LookupIterator it(module, name); | 19491 LookupIterator it(module, name); |
| 19492 Handle<Cell> cell = Handle<Cell>::cast(JSObject::GetDataProperty(&it)); | 19492 Handle<Cell> cell = Handle<Cell>::cast(JSObject::GetDataProperty(&it)); |
| 19493 return handle(cell->value(), isolate); | 19493 return handle(cell->value(), isolate); |
| 19494 } | 19494 } |
| 19495 | 19495 |
| 19496 } // namespace internal | 19496 } // namespace internal |
| 19497 } // namespace v8 | 19497 } // namespace v8 |
| OLD | NEW |