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

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

Issue 1674633002: Move FastAccessorAssembler from RawMachineAssembler to CodeStubAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address (most) feedback. Created 4 years, 10 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
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.h" 11 #include "include/v8.h"
12 #include "include/v8-experimental.h" 12 #include "include/v8-experimental.h"
13 #include "src/api.h" 13 #include "src/api.h"
14 #include "src/compiler/fast-accessor-assembler.h" 14 #include "src/fast-accessor-assembler.h"
15 15
16 namespace { 16 namespace {
17 17
18 18
19 v8::internal::compiler::FastAccessorAssembler* FromApi( 19 v8::internal::compiler::FastAccessorAssembler* FromApi(
20 v8::experimental::FastAccessorBuilder* builder) { 20 v8::experimental::FastAccessorBuilder* builder) {
21 return reinterpret_cast<v8::internal::compiler::FastAccessorAssembler*>( 21 return reinterpret_cast<v8::internal::compiler::FastAccessorAssembler*>(
22 builder); 22 builder);
23 } 23 }
24 24
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 FromApi(this)->CheckNotZeroOrJump(value_id, label_id); 122 FromApi(this)->CheckNotZeroOrJump(value_id, label_id);
123 } 123 }
124 124
125 FastAccessorBuilder::ValueId FastAccessorBuilder::Call( 125 FastAccessorBuilder::ValueId FastAccessorBuilder::Call(
126 v8::FunctionCallback callback, ValueId value_id) { 126 v8::FunctionCallback callback, ValueId value_id) {
127 return FromApi(this)->Call(callback, value_id); 127 return FromApi(this)->Call(callback, value_id);
128 } 128 }
129 129
130 } // namespace experimental 130 } // namespace experimental
131 } // namespace v8 131 } // namespace v8
OLDNEW
« src/DEPS ('K') | « src/DEPS ('k') | src/compiler/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698