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/accessors.h" | 5 #include "src/accessors.h" |
6 | 6 |
7 #include "src/api.h" | 7 #include "src/api.h" |
8 #include "src/contexts.h" | 8 #include "src/contexts.h" |
9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "src/execution.h" | 10 #include "src/execution.h" |
11 #include "src/factory.h" | 11 #include "src/factory.h" |
12 #include "src/frames-inl.h" | 12 #include "src/frames-inl.h" |
13 #include "src/isolate.h" | 13 #include "src/isolate-inl.h" |
14 #include "src/list-inl.h" | 14 #include "src/list-inl.h" |
15 #include "src/messages.h" | 15 #include "src/messages.h" |
16 #include "src/property-details.h" | 16 #include "src/property-details.h" |
17 #include "src/prototype.h" | 17 #include "src/prototype.h" |
18 | 18 |
19 namespace v8 { | 19 namespace v8 { |
20 namespace internal { | 20 namespace internal { |
21 | 21 |
22 | 22 |
23 Handle<AccessorInfo> Accessors::MakeAccessor( | 23 Handle<AccessorInfo> Accessors::MakeAccessor( |
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1489 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); | 1489 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); |
1490 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); | 1490 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); |
1491 info->set_getter(*getter); | 1491 info->set_getter(*getter); |
1492 if (!(attributes & ReadOnly)) info->set_setter(*setter); | 1492 if (!(attributes & ReadOnly)) info->set_setter(*setter); |
1493 return info; | 1493 return info; |
1494 } | 1494 } |
1495 | 1495 |
1496 | 1496 |
1497 } // namespace internal | 1497 } // namespace internal |
1498 } // namespace v8 | 1498 } // namespace v8 |
OLD | NEW |