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

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

Issue 1708313002: [stubs] Introduce a dedicated FastNewObjectStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove TODO. Created 4 years, 10 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ 141 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \
142 V(kNotEnoughVirtualRegistersRegalloc, \ 142 V(kNotEnoughVirtualRegistersRegalloc, \
143 "Not enough virtual registers (regalloc)") \ 143 "Not enough virtual registers (regalloc)") \
144 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ 144 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \
145 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ 145 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \
146 V(kOffsetOutOfRange, "Offset out of range") \ 146 V(kOffsetOutOfRange, "Offset out of range") \
147 V(kOperandIsASmiAndNotABoundFunction, \ 147 V(kOperandIsASmiAndNotABoundFunction, \
148 "Operand is a smi and not a bound function") \ 148 "Operand is a smi and not a bound function") \
149 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ 149 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \
150 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ 150 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \
151 V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \
Yang 2016/02/19 06:51:08 Imo we don't need to distinguish this case and the
Benedikt Meurer 2016/02/19 06:54:05 Well, I just followed the approach in the surround
151 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ 152 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \
152 V(kOperandIsASmi, "Operand is a smi") \ 153 V(kOperandIsASmi, "Operand is a smi") \
153 V(kOperandIsNotADate, "Operand is not a date") \ 154 V(kOperandIsNotADate, "Operand is not a date") \
154 V(kOperandIsNotABoundFunction, "Operand is not a bound function") \ 155 V(kOperandIsNotABoundFunction, "Operand is not a bound function") \
155 V(kOperandIsNotAFunction, "Operand is not a function") \ 156 V(kOperandIsNotAFunction, "Operand is not a function") \
156 V(kOperandIsNotAName, "Operand is not a name") \ 157 V(kOperandIsNotAName, "Operand is not a name") \
157 V(kOperandIsNotANumber, "Operand is not a number") \ 158 V(kOperandIsNotANumber, "Operand is not a number") \
159 V(kOperandIsNotAReceiver, "Operand is not a receiver") \
158 V(kOperandIsNotASmi, "Operand is not a smi") \ 160 V(kOperandIsNotASmi, "Operand is not a smi") \
159 V(kOperandIsNotAString, "Operand is not a string") \ 161 V(kOperandIsNotAString, "Operand is not a string") \
160 V(kOperandIsNotSmi, "Operand is not smi") \ 162 V(kOperandIsNotSmi, "Operand is not smi") \
161 V(kOperandNotANumber, "Operand not a number") \ 163 V(kOperandNotANumber, "Operand not a number") \
162 V(kObjectTagged, "The object is tagged") \ 164 V(kObjectTagged, "The object is tagged") \
163 V(kObjectNotTagged, "The object is not tagged") \ 165 V(kObjectNotTagged, "The object is not tagged") \
164 V(kOptimizationDisabled, "Optimization is disabled") \ 166 V(kOptimizationDisabled, "Optimization is disabled") \
165 V(kOptimizedTooManyTimes, "Optimized too many times") \ 167 V(kOptimizedTooManyTimes, "Optimized too many times") \
166 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ 168 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \
167 "Out of virtual registers while trying to allocate temp register") \ 169 "Out of virtual registers while trying to allocate temp register") \
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 }; 275 };
274 #undef ERROR_MESSAGES_CONSTANTS 276 #undef ERROR_MESSAGES_CONSTANTS
275 277
276 278
277 const char* GetBailoutReason(BailoutReason reason); 279 const char* GetBailoutReason(BailoutReason reason);
278 280
279 } // namespace internal 281 } // namespace internal
280 } // namespace v8 282 } // namespace v8
281 283
282 #endif // V8_BAILOUT_REASON_H_ 284 #endif // V8_BAILOUT_REASON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698