OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/compiler/linkage.h" | 5 #include "src/compiler/linkage.h" |
6 | 6 |
7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/pipeline.h" | 10 #include "src/compiler/pipeline.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 switch (function) { | 118 switch (function) { |
119 case Runtime::kApply: | 119 case Runtime::kApply: |
120 case Runtime::kArrayBufferNeuter: | 120 case Runtime::kArrayBufferNeuter: |
121 case Runtime::kArrayConcat: | 121 case Runtime::kArrayConcat: |
122 case Runtime::kBasicJSONStringify: | 122 case Runtime::kBasicJSONStringify: |
123 case Runtime::kCheckExecutionState: | 123 case Runtime::kCheckExecutionState: |
124 case Runtime::kCollectStackTrace: | 124 case Runtime::kCollectStackTrace: |
125 case Runtime::kCompileLazy: | 125 case Runtime::kCompileLazy: |
126 case Runtime::kCompileOptimized: | 126 case Runtime::kCompileOptimized: |
127 case Runtime::kCompileString: | 127 case Runtime::kCompileString: |
| 128 case Runtime::kCreateObjectLiteral: |
128 case Runtime::kDebugBreak: | 129 case Runtime::kDebugBreak: |
129 case Runtime::kDataViewSetInt8: | 130 case Runtime::kDataViewSetInt8: |
130 case Runtime::kDataViewSetUint8: | 131 case Runtime::kDataViewSetUint8: |
131 case Runtime::kDataViewSetInt16: | 132 case Runtime::kDataViewSetInt16: |
132 case Runtime::kDataViewSetUint16: | 133 case Runtime::kDataViewSetUint16: |
133 case Runtime::kDataViewSetInt32: | 134 case Runtime::kDataViewSetInt32: |
134 case Runtime::kDataViewSetUint32: | 135 case Runtime::kDataViewSetUint32: |
135 case Runtime::kDataViewSetFloat32: | 136 case Runtime::kDataViewSetFloat32: |
136 case Runtime::kDataViewSetFloat64: | 137 case Runtime::kDataViewSetFloat64: |
137 case Runtime::kDataViewGetInt8: | 138 case Runtime::kDataViewGetInt8: |
138 case Runtime::kDataViewGetUint8: | 139 case Runtime::kDataViewGetUint8: |
139 case Runtime::kDataViewGetInt16: | 140 case Runtime::kDataViewGetInt16: |
140 case Runtime::kDataViewGetUint16: | 141 case Runtime::kDataViewGetUint16: |
141 case Runtime::kDataViewGetInt32: | 142 case Runtime::kDataViewGetInt32: |
142 case Runtime::kDataViewGetUint32: | 143 case Runtime::kDataViewGetUint32: |
143 case Runtime::kDataViewGetFloat32: | 144 case Runtime::kDataViewGetFloat32: |
144 case Runtime::kDataViewGetFloat64: | 145 case Runtime::kDataViewGetFloat64: |
145 case Runtime::kDebugEvaluate: | 146 case Runtime::kDebugEvaluate: |
| 147 case Runtime::kDebugEvaluateGlobal: |
146 case Runtime::kDebugGetLoadedScripts: | 148 case Runtime::kDebugGetLoadedScripts: |
147 case Runtime::kDebugGetPropertyDetails: | 149 case Runtime::kDebugGetPropertyDetails: |
148 case Runtime::kDebugPromiseEvent: | 150 case Runtime::kDebugPromiseEvent: |
| 151 case Runtime::kDefineAccessorPropertyUnchecked: |
| 152 case Runtime::kDefineDataPropertyUnchecked: |
149 case Runtime::kDeleteProperty: | 153 case Runtime::kDeleteProperty: |
150 case Runtime::kDeoptimizeFunction: | 154 case Runtime::kDeoptimizeFunction: |
151 case Runtime::kFunctionBindArguments: | 155 case Runtime::kFunctionBindArguments: |
| 156 case Runtime::kGetDefaultReceiver: |
152 case Runtime::kGetFrameCount: | 157 case Runtime::kGetFrameCount: |
| 158 case Runtime::kGetImplFromInitializedIntlObject: |
153 case Runtime::kGetOwnProperty: | 159 case Runtime::kGetOwnProperty: |
| 160 case Runtime::kGetOwnPropertyNames: |
| 161 case Runtime::kGetPropertyNamesFast: |
| 162 case Runtime::kGetPrototype: |
| 163 case Runtime::kInlineArguments: |
154 case Runtime::kInlineCallFunction: | 164 case Runtime::kInlineCallFunction: |
155 case Runtime::kInlineDateField: | 165 case Runtime::kInlineDateField: |
156 case Runtime::kInlineRegExpExec: | 166 case Runtime::kInlineRegExpExec: |
| 167 case Runtime::kInternalSetPrototype: |
| 168 case Runtime::kInterrupt: |
| 169 case Runtime::kIsPropertyEnumerable: |
| 170 case Runtime::kIsSloppyModeFunction: |
157 case Runtime::kLiveEditGatherCompileInfo: | 171 case Runtime::kLiveEditGatherCompileInfo: |
158 case Runtime::kLoadLookupSlot: | 172 case Runtime::kLoadLookupSlot: |
159 case Runtime::kLoadLookupSlotNoReferenceError: | 173 case Runtime::kLoadLookupSlotNoReferenceError: |
160 case Runtime::kMaterializeRegExpLiteral: | 174 case Runtime::kMaterializeRegExpLiteral: |
| 175 case Runtime::kNewObject: |
161 case Runtime::kNewObjectFromBound: | 176 case Runtime::kNewObjectFromBound: |
| 177 case Runtime::kNewObjectWithAllocationSite: |
162 case Runtime::kObjectFreeze: | 178 case Runtime::kObjectFreeze: |
| 179 case Runtime::kOwnKeys: |
163 case Runtime::kParseJson: | 180 case Runtime::kParseJson: |
164 case Runtime::kPrepareStep: | 181 case Runtime::kPrepareStep: |
165 case Runtime::kPreventExtensions: | 182 case Runtime::kPreventExtensions: |
166 case Runtime::kPromiseRejectEvent: | 183 case Runtime::kPromiseRejectEvent: |
167 case Runtime::kPromiseRevokeReject: | 184 case Runtime::kPromiseRevokeReject: |
168 case Runtime::kRegExpCompile: | 185 case Runtime::kRegExpCompile: |
169 case Runtime::kRegExpExecMultiple: | 186 case Runtime::kRegExpExecMultiple: |
170 case Runtime::kResolvePossiblyDirectEval: | 187 case Runtime::kResolvePossiblyDirectEval: |
171 // case Runtime::kSetPrototype: | 188 case Runtime::kSetPrototype: |
172 case Runtime::kSetScriptBreakPoint: | 189 case Runtime::kSetScriptBreakPoint: |
| 190 case Runtime::kSparseJoinWithSeparator: |
173 case Runtime::kStackGuard: | 191 case Runtime::kStackGuard: |
| 192 case Runtime::kStoreKeyedToSuper_Sloppy: |
| 193 case Runtime::kStoreKeyedToSuper_Strict: |
| 194 case Runtime::kStoreToSuper_Sloppy: |
| 195 case Runtime::kStoreToSuper_Strict: |
174 case Runtime::kStoreLookupSlot: | 196 case Runtime::kStoreLookupSlot: |
175 case Runtime::kStringBuilderConcat: | 197 case Runtime::kStringBuilderConcat: |
| 198 case Runtime::kStringBuilderJoin: |
176 case Runtime::kStringReplaceGlobalRegExpWithString: | 199 case Runtime::kStringReplaceGlobalRegExpWithString: |
| 200 case Runtime::kThrowNonMethodError: |
| 201 case Runtime::kThrowNotDateError: |
177 case Runtime::kThrowReferenceError: | 202 case Runtime::kThrowReferenceError: |
| 203 case Runtime::kThrowUnsupportedSuperError: |
178 case Runtime::kThrow: | 204 case Runtime::kThrow: |
179 case Runtime::kTypedArraySetFastCases: | 205 case Runtime::kTypedArraySetFastCases: |
180 case Runtime::kTypedArrayInitializeFromArrayLike: | 206 case Runtime::kTypedArrayInitializeFromArrayLike: |
181 case Runtime::kDebugEvaluateGlobal: | |
182 case Runtime::kOwnKeys: | |
183 case Runtime::kGetOwnPropertyNames: | |
184 case Runtime::kIsPropertyEnumerable: | |
185 case Runtime::kGetPrototype: | |
186 case Runtime::kSparseJoinWithSeparator: | |
187 return true; | 207 return true; |
188 default: | 208 default: |
189 return false; | 209 return false; |
190 } | 210 } |
191 } | 211 } |
192 | 212 |
193 | 213 |
194 //============================================================================== | 214 //============================================================================== |
195 // Provide unimplemented methods on unsupported architectures, to at least link. | 215 // Provide unimplemented methods on unsupported architectures, to at least link. |
196 //============================================================================== | 216 //============================================================================== |
(...skipping 22 matching lines...) Expand all Loading... |
219 | 239 |
220 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, | 240 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, |
221 MachineSignature* sig) { | 241 MachineSignature* sig) { |
222 UNIMPLEMENTED(); | 242 UNIMPLEMENTED(); |
223 return NULL; | 243 return NULL; |
224 } | 244 } |
225 #endif // !V8_TURBOFAN_BACKEND | 245 #endif // !V8_TURBOFAN_BACKEND |
226 } | 246 } |
227 } | 247 } |
228 } // namespace v8::internal::compiler | 248 } // namespace v8::internal::compiler |
OLD | NEW |