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

Side by Side Diff: src/api-experimental.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 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
« no previous file with comments | « src/api-arguments.cc ('k') | src/ast/ast-expression-rewriter.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 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 /** 5 /**
6 * Implementation for v8-experimental.h. 6 * Implementation for v8-experimental.h.
7 */ 7 */
8 8
9 #include "src/api-experimental.h" 9 #include "src/api-experimental.h"
10 10
11 #include "include/v8-experimental.h"
11 #include "include/v8.h" 12 #include "include/v8.h"
12 #include "include/v8-experimental.h"
13 #include "src/api.h" 13 #include "src/api.h"
14 #include "src/fast-accessor-assembler.h" 14 #include "src/fast-accessor-assembler.h"
15 #include "src/objects-inl.h"
15 16
16 namespace { 17 namespace {
17 18
18 v8::internal::FastAccessorAssembler* FromApi( 19 v8::internal::FastAccessorAssembler* FromApi(
19 v8::experimental::FastAccessorBuilder* builder) { 20 v8::experimental::FastAccessorBuilder* builder) {
20 return reinterpret_cast<v8::internal::FastAccessorAssembler*>(builder); 21 return reinterpret_cast<v8::internal::FastAccessorAssembler*>(builder);
21 } 22 }
22 23
23 v8::experimental::FastAccessorBuilder* FromInternal( 24 v8::experimental::FastAccessorBuilder* FromInternal(
24 v8::internal::FastAccessorAssembler* fast_accessor_assembler) { 25 v8::internal::FastAccessorAssembler* fast_accessor_assembler) {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 FromApi(this)->CheckNotZeroOrJump(value_id, label_id); 130 FromApi(this)->CheckNotZeroOrJump(value_id, label_id);
130 } 131 }
131 132
132 FastAccessorBuilder::ValueId FastAccessorBuilder::Call( 133 FastAccessorBuilder::ValueId FastAccessorBuilder::Call(
133 v8::FunctionCallback callback, ValueId value_id) { 134 v8::FunctionCallback callback, ValueId value_id) {
134 return FromApi(this)->Call(callback, value_id); 135 return FromApi(this)->Call(callback, value_id);
135 } 136 }
136 137
137 } // namespace experimental 138 } // namespace experimental
138 } // namespace v8 139 } // namespace v8
OLDNEW
« no previous file with comments | « src/api-arguments.cc ('k') | src/ast/ast-expression-rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698