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

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: Update 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
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 "Unexpected initial map for Array function (2)") \ 223 "Unexpected initial map for Array function (2)") \
224 V(kUnexpectedInitialMapForArrayFunction, \ 224 V(kUnexpectedInitialMapForArrayFunction, \
225 "Unexpected initial map for Array function") \ 225 "Unexpected initial map for Array function") \
226 V(kUnexpectedInitialMapForInternalArrayFunction, \ 226 V(kUnexpectedInitialMapForInternalArrayFunction, \
227 "Unexpected initial map for InternalArray function") \ 227 "Unexpected initial map for InternalArray function") \
228 V(kUnexpectedLevelAfterReturnFromApiCall, \ 228 V(kUnexpectedLevelAfterReturnFromApiCall, \
229 "Unexpected level after return from api call") \ 229 "Unexpected level after return from api call") \
230 V(kUnexpectedNegativeValue, "Unexpected negative value") \ 230 V(kUnexpectedNegativeValue, "Unexpected negative value") \
231 V(kUnexpectedNumberOfPreAllocatedPropertyFields, \ 231 V(kUnexpectedNumberOfPreAllocatedPropertyFields, \
232 "Unexpected number of pre-allocated property fields") \ 232 "Unexpected number of pre-allocated property fields") \
233 V(kUnexpectedFunctionIDForInvokeIntrinsic, \
234 "Unexpected runtime function id for the InvokeIntrinsic bytecode") \
233 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ 235 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \
234 V(kUnexpectedSmi, "Unexpected smi value") \ 236 V(kUnexpectedSmi, "Unexpected smi value") \
235 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \ 237 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \
236 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \ 238 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \
237 V(kUnexpectedStringType, "Unexpected string type") \ 239 V(kUnexpectedStringType, "Unexpected string type") \
238 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ 240 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \
239 "Unexpected type for RegExp data, FixedArray expected") \ 241 "Unexpected type for RegExp data, FixedArray expected") \
240 V(kUnexpectedValue, "Unexpected value") \ 242 V(kUnexpectedValue, "Unexpected value") \
241 V(kUnsupportedConstCompoundAssignment, \ 243 V(kUnsupportedConstCompoundAssignment, \
242 "Unsupported const compound assignment") \ 244 "Unsupported const compound assignment") \
(...skipping 12 matching lines...) Expand all
255 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 257 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
256 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ 258 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
257 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 259 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
258 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 260 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
259 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 261 V(kWeShouldNotHaveAnEmptyLexicalContext, \
260 "We should not have an empty lexical context") \ 262 "We should not have an empty lexical context") \
261 V(kWithStatement, "WithStatement") \ 263 V(kWithStatement, "WithStatement") \
262 V(kWrongFunctionContext, "Wrong context passed to function") \ 264 V(kWrongFunctionContext, "Wrong context passed to function") \
263 V(kWrongAddressOrValuePassedToRecordWrite, \ 265 V(kWrongAddressOrValuePassedToRecordWrite, \
264 "Wrong address or value passed to RecordWrite") \ 266 "Wrong address or value passed to RecordWrite") \
267 V(kWrongArgumentCountForInvokeIntrinsic, \
268 "Wrong number of argument for intrinsic") \
rmcilroy 2016/03/08 11:19:30 /a/argument/arguments
epertoso 2016/03/08 14:11:09 Done.
265 V(kShouldNotDirectlyEnterOsrFunction, \ 269 V(kShouldNotDirectlyEnterOsrFunction, \
266 "Should not directly enter OSR-compiled function") \ 270 "Should not directly enter OSR-compiled function") \
267 V(kYield, "Yield") 271 V(kYield, "Yield")
268 272
269 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 273 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
270 enum BailoutReason { 274 enum BailoutReason {
271 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 275 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
272 }; 276 };
273 #undef ERROR_MESSAGES_CONSTANTS 277 #undef ERROR_MESSAGES_CONSTANTS
274 278
275 279
276 const char* GetBailoutReason(BailoutReason reason); 280 const char* GetBailoutReason(BailoutReason reason);
277 281
278 } // namespace internal 282 } // namespace internal
279 } // namespace v8 283 } // namespace v8
280 284
281 #endif // V8_BAILOUT_REASON_H_ 285 #endif // V8_BAILOUT_REASON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698