| 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/contexts.h" | 9 #include "src/contexts.h" |
| 10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
| (...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1451 info->set_name(*name); | 1451 info->set_name(*name); |
| 1452 info->set_data(Smi::FromInt(index)); | 1452 info->set_data(Smi::FromInt(index)); |
| 1453 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); | 1453 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); |
| 1454 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); | 1454 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); |
| 1455 info->set_getter(*getter); | 1455 info->set_getter(*getter); |
| 1456 if (!(attributes & ReadOnly)) info->set_setter(*setter); | 1456 if (!(attributes & ReadOnly)) info->set_setter(*setter); |
| 1457 return info; | 1457 return info; |
| 1458 } | 1458 } |
| 1459 | 1459 |
| 1460 | 1460 |
| 1461 } } // namespace v8::internal | 1461 } // namespace internal |
| 1462 } // namespace v8 |
| OLD | NEW |