OLD | NEW |
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 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 FastAccessorBuilder::ValueId FastAccessorBuilder::IntegerConstant( | 64 FastAccessorBuilder::ValueId FastAccessorBuilder::IntegerConstant( |
65 int const_value) { | 65 int const_value) { |
66 return FromApi(this)->IntegerConstant(const_value); | 66 return FromApi(this)->IntegerConstant(const_value); |
67 } | 67 } |
68 | 68 |
69 | 69 |
70 FastAccessorBuilder::ValueId FastAccessorBuilder::GetReceiver() { | 70 FastAccessorBuilder::ValueId FastAccessorBuilder::GetReceiver() { |
71 return FromApi(this)->GetReceiver(); | 71 return FromApi(this)->GetReceiver(); |
72 } | 72 } |
73 | 73 |
74 | 74 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadEmbedderField( |
75 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadInternalField( | |
76 ValueId value, int field_no) { | 75 ValueId value, int field_no) { |
77 return FromApi(this)->LoadInternalField(value, field_no); | 76 return FromApi(this)->LoadEmbedderField(value, field_no); |
78 } | 77 } |
79 | 78 |
80 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadInternalFieldUnchecked( | 79 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadEmbedderFieldUnchecked( |
81 ValueId value, int field_no) { | 80 ValueId value, int field_no) { |
82 return FromApi(this)->LoadInternalFieldUnchecked(value, field_no); | 81 return FromApi(this)->LoadEmbedderFieldUnchecked(value, field_no); |
83 } | 82 } |
84 | 83 |
85 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadValue(ValueId value_id, | 84 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadValue(ValueId value_id, |
86 int offset) { | 85 int offset) { |
87 return FromApi(this)->LoadValue(value_id, offset); | 86 return FromApi(this)->LoadValue(value_id, offset); |
88 } | 87 } |
89 | 88 |
90 | 89 |
91 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadObject(ValueId value_id, | 90 FastAccessorBuilder::ValueId FastAccessorBuilder::LoadObject(ValueId value_id, |
92 int offset) { | 91 int offset) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 FromApi(this)->CheckNotZeroOrJump(value_id, label_id); | 129 FromApi(this)->CheckNotZeroOrJump(value_id, label_id); |
131 } | 130 } |
132 | 131 |
133 FastAccessorBuilder::ValueId FastAccessorBuilder::Call( | 132 FastAccessorBuilder::ValueId FastAccessorBuilder::Call( |
134 v8::FunctionCallback callback, ValueId value_id) { | 133 v8::FunctionCallback callback, ValueId value_id) { |
135 return FromApi(this)->Call(callback, value_id); | 134 return FromApi(this)->Call(callback, value_id); |
136 } | 135 } |
137 | 136 |
138 } // namespace experimental | 137 } // namespace experimental |
139 } // namespace v8 | 138 } // namespace v8 |
OLD | NEW |