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

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

Issue 1086333002: Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Just give up if null or undefined. Created 5 years, 8 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | src/deoptimizer.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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \ 87 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \
88 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \ 88 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \
89 V(kExpectedNewSpaceObject, "Expected new space object") \ 89 V(kExpectedNewSpaceObject, "Expected new space object") \
90 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \ 90 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \
91 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ 91 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \
92 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ 92 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \
93 V(kExportDeclaration, "Export declaration") \ 93 V(kExportDeclaration, "Export declaration") \
94 V(kExternalStringExpectedButNotFound, \ 94 V(kExternalStringExpectedButNotFound, \
95 "External string expected, but not found") \ 95 "External string expected, but not found") \
96 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \ 96 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \
97 V(kForInStatementIsNotFastCase, "ForInStatement is not fast case") \
98 V(kForInStatementOptimizationIsDisabled, \ 97 V(kForInStatementOptimizationIsDisabled, \
99 "ForInStatement optimization is disabled") \ 98 "ForInStatement optimization is disabled") \
100 V(kForInStatementWithNonLocalEachVariable, \ 99 V(kForInStatementWithNonLocalEachVariable, \
101 "ForInStatement with non-local each variable") \ 100 "ForInStatement with non-local each variable") \
102 V(kForOfStatement, "ForOfStatement") \ 101 V(kForOfStatement, "ForOfStatement") \
103 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ 102 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \
104 V(kFunctionCallsEval, "Function calls eval") \ 103 V(kFunctionCallsEval, "Function calls eval") \
105 V(kFunctionIsAGenerator, "Function is a generator") \ 104 V(kFunctionIsAGenerator, "Function is a generator") \
106 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ 105 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \
107 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ 106 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 }; 333 };
335 #undef ERROR_MESSAGES_CONSTANTS 334 #undef ERROR_MESSAGES_CONSTANTS
336 335
337 336
338 const char* GetBailoutReason(BailoutReason reason); 337 const char* GetBailoutReason(BailoutReason reason);
339 338
340 } // namespace internal 339 } // namespace internal
341 } // namespace v8 340 } // namespace v8
342 341
343 #endif // V8_BAILOUT_REASON_H_ 342 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698