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

Side by Side Diff: src/bailout-reason.h

Issue 1645763003: [Interpreter] TurboFan implementation of intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merged with oth@'s changes. Created 4 years, 9 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 | « BUILD.gn ('k') | src/compiler/bytecode-graph-builder.h » ('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 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 #ifndef V8_BAILOUT_REASON_H_ 5 #ifndef V8_BAILOUT_REASON_H_
6 #define V8_BAILOUT_REASON_H_ 6 #define V8_BAILOUT_REASON_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 "Unexpected initial map for Array function (2)") \ 224 "Unexpected initial map for Array function (2)") \
225 V(kUnexpectedInitialMapForArrayFunction, \ 225 V(kUnexpectedInitialMapForArrayFunction, \
226 "Unexpected initial map for Array function") \ 226 "Unexpected initial map for Array function") \
227 V(kUnexpectedInitialMapForInternalArrayFunction, \ 227 V(kUnexpectedInitialMapForInternalArrayFunction, \
228 "Unexpected initial map for InternalArray function") \ 228 "Unexpected initial map for InternalArray function") \
229 V(kUnexpectedLevelAfterReturnFromApiCall, \ 229 V(kUnexpectedLevelAfterReturnFromApiCall, \
230 "Unexpected level after return from api call") \ 230 "Unexpected level after return from api call") \
231 V(kUnexpectedNegativeValue, "Unexpected negative value") \ 231 V(kUnexpectedNegativeValue, "Unexpected negative value") \
232 V(kUnexpectedNumberOfPreAllocatedPropertyFields, \ 232 V(kUnexpectedNumberOfPreAllocatedPropertyFields, \
233 "Unexpected number of pre-allocated property fields") \ 233 "Unexpected number of pre-allocated property fields") \
234 V(kUnexpectedFunctionIDForInvokeIntrinsic, \
235 "Unexpected runtime function id for the InvokeIntrinsic bytecode") \
234 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ 236 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \
235 V(kUnexpectedSmi, "Unexpected smi value") \ 237 V(kUnexpectedSmi, "Unexpected smi value") \
236 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \ 238 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \
237 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \ 239 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \
238 V(kUnexpectedStringType, "Unexpected string type") \ 240 V(kUnexpectedStringType, "Unexpected string type") \
239 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ 241 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \
240 "Unexpected type for RegExp data, FixedArray expected") \ 242 "Unexpected type for RegExp data, FixedArray expected") \
241 V(kUnexpectedValue, "Unexpected value") \ 243 V(kUnexpectedValue, "Unexpected value") \
242 V(kUnsupportedConstCompoundAssignment, \ 244 V(kUnsupportedConstCompoundAssignment, \
243 "Unsupported const compound assignment") \ 245 "Unsupported const compound assignment") \
(...skipping 12 matching lines...) Expand all
256 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 258 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
257 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ 259 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
258 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 260 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
259 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 261 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
260 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 262 V(kWeShouldNotHaveAnEmptyLexicalContext, \
261 "We should not have an empty lexical context") \ 263 "We should not have an empty lexical context") \
262 V(kWithStatement, "WithStatement") \ 264 V(kWithStatement, "WithStatement") \
263 V(kWrongFunctionContext, "Wrong context passed to function") \ 265 V(kWrongFunctionContext, "Wrong context passed to function") \
264 V(kWrongAddressOrValuePassedToRecordWrite, \ 266 V(kWrongAddressOrValuePassedToRecordWrite, \
265 "Wrong address or value passed to RecordWrite") \ 267 "Wrong address or value passed to RecordWrite") \
268 V(kWrongArgumentCountForInvokeIntrinsic, \
269 "Wrong number of arguments for intrinsic") \
266 V(kShouldNotDirectlyEnterOsrFunction, \ 270 V(kShouldNotDirectlyEnterOsrFunction, \
267 "Should not directly enter OSR-compiled function") \ 271 "Should not directly enter OSR-compiled function") \
268 V(kYield, "Yield") 272 V(kYield, "Yield")
269 273
270 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 274 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
271 enum BailoutReason { 275 enum BailoutReason {
272 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 276 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
273 }; 277 };
274 #undef ERROR_MESSAGES_CONSTANTS 278 #undef ERROR_MESSAGES_CONSTANTS
275 279
276 280
277 const char* GetBailoutReason(BailoutReason reason); 281 const char* GetBailoutReason(BailoutReason reason);
278 282
279 } // namespace internal 283 } // namespace internal
280 } // namespace v8 284 } // namespace v8
281 285
282 #endif // V8_BAILOUT_REASON_H_ 286 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/compiler/bytecode-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698