Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: src/accessors.cc

Issue 333013002: Check alpha-sorting of includes during presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/shell.cc ('k') | src/allocation-tracker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "src/accessors.h" 7 #include "src/accessors.h"
7 8 #include "src/api.h"
8 #include "src/compiler.h" 9 #include "src/compiler.h"
9 #include "src/contexts.h" 10 #include "src/contexts.h"
10 #include "src/deoptimizer.h" 11 #include "src/deoptimizer.h"
11 #include "src/execution.h" 12 #include "src/execution.h"
12 #include "src/factory.h" 13 #include "src/factory.h"
13 #include "src/frames-inl.h" 14 #include "src/frames-inl.h"
14 #include "src/isolate.h" 15 #include "src/isolate.h"
15 #include "src/list-inl.h" 16 #include "src/list-inl.h"
16 #include "src/property-details.h" 17 #include "src/property-details.h"
17 #include "src/api.h"
18 18
19 namespace v8 { 19 namespace v8 {
20 namespace internal { 20 namespace internal {
21 21
22 22
23 // We have a slight impedance mismatch between the external API and the way we 23 // We have a slight impedance mismatch between the external API and the way we
24 // use callbacks internally: Externally, callbacks can only be used with 24 // use callbacks internally: Externally, callbacks can only be used with
25 // v8::Object, but internally we even have callbacks on entities which are 25 // v8::Object, but internally we even have callbacks on entities which are
26 // higher in the hierarchy, so we can only return i::Object here, not 26 // higher in the hierarchy, so we can only return i::Object here, not
27 // i::JSObject. 27 // i::JSObject.
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 info->set_data(Smi::FromInt(index)); 1352 info->set_data(Smi::FromInt(index));
1353 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport); 1353 Handle<Object> getter = v8::FromCData(isolate, &ModuleGetExport);
1354 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport); 1354 Handle<Object> setter = v8::FromCData(isolate, &ModuleSetExport);
1355 info->set_getter(*getter); 1355 info->set_getter(*getter);
1356 if (!(attributes & ReadOnly)) info->set_setter(*setter); 1356 if (!(attributes & ReadOnly)) info->set_setter(*setter);
1357 return info; 1357 return info;
1358 } 1358 }
1359 1359
1360 1360
1361 } } // namespace v8::internal 1361 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « samples/shell.cc ('k') | src/allocation-tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698