OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_DEOPTIMIZER_H_ | 5 #ifndef V8_DEOPTIMIZER_H_ |
6 #define V8_DEOPTIMIZER_H_ | 6 #define V8_DEOPTIMIZER_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 V(kLostPrecision, "lost precision") \ | 387 V(kLostPrecision, "lost precision") \ |
388 V(kLostPrecisionOrNaN, "lost precision or NaN") \ | 388 V(kLostPrecisionOrNaN, "lost precision or NaN") \ |
389 V(kMementoFound, "memento found") \ | 389 V(kMementoFound, "memento found") \ |
390 V(kMinusZero, "minus zero") \ | 390 V(kMinusZero, "minus zero") \ |
391 V(kNaN, "NaN") \ | 391 V(kNaN, "NaN") \ |
392 V(kNegativeKeyEncountered, "Negative key encountered") \ | 392 V(kNegativeKeyEncountered, "Negative key encountered") \ |
393 V(kNegativeValue, "negative value") \ | 393 V(kNegativeValue, "negative value") \ |
394 V(kNoCache, "no cache") \ | 394 V(kNoCache, "no cache") \ |
395 V(kNonStrictElementsInKeyedLoadGenericStub, \ | 395 V(kNonStrictElementsInKeyedLoadGenericStub, \ |
396 "non-strict elements in KeyedLoadGenericStub") \ | 396 "non-strict elements in KeyedLoadGenericStub") \ |
| 397 V(kNotADateObject, "not a date object") \ |
397 V(kNotAHeapNumber, "not a heap number") \ | 398 V(kNotAHeapNumber, "not a heap number") \ |
398 V(kNotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \ | 399 V(kNotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \ |
399 V(kNotAHeapNumberUndefined, "not a heap number/undefined") \ | 400 V(kNotAHeapNumberUndefined, "not a heap number/undefined") \ |
400 V(kNotAJavaScriptObject, "not a JavaScript object") \ | 401 V(kNotAJavaScriptObject, "not a JavaScript object") \ |
401 V(kNotASmi, "not a Smi") \ | 402 V(kNotASmi, "not a Smi") \ |
402 V(kNull, "null") \ | 403 V(kNull, "null") \ |
403 V(kOutOfBounds, "out of bounds") \ | 404 V(kOutOfBounds, "out of bounds") \ |
404 V(kOutsideOfRange, "Outside of range") \ | 405 V(kOutsideOfRange, "Outside of range") \ |
405 V(kOverflow, "overflow") \ | 406 V(kOverflow, "overflow") \ |
406 V(kReceiverWasAGlobalObject, "receiver was a global object") \ | 407 V(kReceiverWasAGlobalObject, "receiver was a global object") \ |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 Object** expression_stack_; | 1185 Object** expression_stack_; |
1185 int source_position_; | 1186 int source_position_; |
1186 | 1187 |
1187 friend class Deoptimizer; | 1188 friend class Deoptimizer; |
1188 }; | 1189 }; |
1189 | 1190 |
1190 } // namespace internal | 1191 } // namespace internal |
1191 } // namespace v8 | 1192 } // namespace v8 |
1192 | 1193 |
1193 #endif // V8_DEOPTIMIZER_H_ | 1194 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |