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

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

Issue 2444233004: [compiler] Properly validate stable map assumption for globals. (Closed)
Patch Set: Unsmartify Crankshaft Created 4 years, 1 month 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 | « no previous file | src/compiler/js-global-object-specialization.cc » ('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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ 247 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
248 V(kUnsupportedLookupSlotInDeclaration, \ 248 V(kUnsupportedLookupSlotInDeclaration, \
249 "Unsupported lookup slot in declaration") \ 249 "Unsupported lookup slot in declaration") \
250 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 250 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
251 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 251 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
252 V(kUnsupportedPhiUseOfConstVariable, \ 252 V(kUnsupportedPhiUseOfConstVariable, \
253 "Unsupported phi use of const or let variable") \ 253 "Unsupported phi use of const or let variable") \
254 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 254 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
255 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ 255 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
256 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 256 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
257 V(kUnstableConstantTypeHeapObject, "Unstable constant-type heap object") \
257 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 258 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
258 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 259 V(kWeShouldNotHaveAnEmptyLexicalContext, \
259 "We should not have an empty lexical context") \ 260 "We should not have an empty lexical context") \
260 V(kWithStatement, "WithStatement") \ 261 V(kWithStatement, "WithStatement") \
261 V(kWrongFunctionContext, "Wrong context passed to function") \ 262 V(kWrongFunctionContext, "Wrong context passed to function") \
262 V(kWrongAddressOrValuePassedToRecordWrite, \ 263 V(kWrongAddressOrValuePassedToRecordWrite, \
263 "Wrong address or value passed to RecordWrite") \ 264 "Wrong address or value passed to RecordWrite") \
264 V(kWrongArgumentCountForInvokeIntrinsic, \ 265 V(kWrongArgumentCountForInvokeIntrinsic, \
265 "Wrong number of arguments for intrinsic") \ 266 "Wrong number of arguments for intrinsic") \
266 V(kShouldNotDirectlyEnterOsrFunction, \ 267 V(kShouldNotDirectlyEnterOsrFunction, \
267 "Should not directly enter OSR-compiled function") 268 "Should not directly enter OSR-compiled function")
268 269
269 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 270 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
270 enum BailoutReason { 271 enum BailoutReason {
271 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 272 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
272 }; 273 };
273 #undef ERROR_MESSAGES_CONSTANTS 274 #undef ERROR_MESSAGES_CONSTANTS
274 275
275 276
276 const char* GetBailoutReason(BailoutReason reason); 277 const char* GetBailoutReason(BailoutReason reason);
277 278
278 } // namespace internal 279 } // namespace internal
279 } // namespace v8 280 } // namespace v8
280 281
281 #endif // V8_BAILOUT_REASON_H_ 282 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-global-object-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698