OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/api.h" | 8 #include "src/api.h" |
9 #include "src/compiler.h" | |
10 #include "src/contexts.h" | 9 #include "src/contexts.h" |
11 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
12 #include "src/execution.h" | 11 #include "src/execution.h" |
13 #include "src/factory.h" | 12 #include "src/factory.h" |
14 #include "src/frames-inl.h" | 13 #include "src/frames-inl.h" |
15 #include "src/isolate.h" | 14 #include "src/isolate.h" |
16 #include "src/list-inl.h" | 15 #include "src/list-inl.h" |
17 #include "src/property-details.h" | 16 #include "src/property-details.h" |
18 #include "src/prototype.h" | 17 #include "src/prototype.h" |
19 | 18 |
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1533 info->set_data(Smi::FromInt(index)); | 1532 info->set_data(Smi::FromInt(index)); |
1534 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); | 1533 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); |
1535 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); | 1534 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); |
1536 info->set_getter(*getter); | 1535 info->set_getter(*getter); |
1537 if (!(attributes & ReadOnly)) info->set_setter(*setter); | 1536 if (!(attributes & ReadOnly)) info->set_setter(*setter); |
1538 return info; | 1537 return info; |
1539 } | 1538 } |
1540 | 1539 |
1541 | 1540 |
1542 } } // namespace v8::internal | 1541 } } // namespace v8::internal |
OLD | NEW |