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

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

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Review feedback and fix test cases Created 3 years, 6 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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_DEOPTIMIZE_REASON_H_ 5 #ifndef V8_DEOPTIMIZE_REASON_H_
6 #define V8_DEOPTIMIZE_REASON_H_ 6 #define V8_DEOPTIMIZE_REASON_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 #define DEOPTIMIZE_REASON_LIST(V) \ 13 #define DEOPTIMIZE_REASON_LIST(V) \
14 V(AccessCheck, "Access check needed") \ 14 V(AccessCheck, "Access check needed") \
15 V(NoReason, "no reason") \ 15 V(NoReason, "no reason") \
16 V(ConstantGlobalVariableAssignment, "Constant global variable assignment") \ 16 V(ConstantGlobalVariableAssignment, "Constant global variable assignment") \
17 V(ContinueToBuiltin, "continue to builtin") \
Michael Starzinger 2017/06/07 09:47:04 nit: This deopt reason seems to be unused, can we
danno 2017/06/22 14:43:54 Done.
17 V(ConversionOverflow, "conversion overflow") \ 18 V(ConversionOverflow, "conversion overflow") \
18 V(DivisionByZero, "division by zero") \ 19 V(DivisionByZero, "division by zero") \
19 V(ExpectedHeapNumber, "Expected heap number") \ 20 V(ExpectedHeapNumber, "Expected heap number") \
20 V(ExpectedSmi, "Expected smi") \ 21 V(ExpectedSmi, "Expected smi") \
21 V(ForcedDeoptToRuntime, "Forced deopt to runtime") \ 22 V(ForcedDeoptToRuntime, "Forced deopt to runtime") \
22 V(Hole, "hole") \ 23 V(Hole, "hole") \
23 V(InstanceMigrationFailed, "instance migration failed") \ 24 V(InstanceMigrationFailed, "instance migration failed") \
24 V(InsufficientTypeFeedbackForCall, "Insufficient type feedback for call") \ 25 V(InsufficientTypeFeedbackForCall, "Insufficient type feedback for call") \
25 V(InsufficientTypeFeedbackForCallWithArguments, \ 26 V(InsufficientTypeFeedbackForCallWithArguments, \
26 "Insufficient type feedback for call with arguments") \ 27 "Insufficient type feedback for call with arguments") \
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 std::ostream& operator<<(std::ostream&, DeoptimizeReason); 87 std::ostream& operator<<(std::ostream&, DeoptimizeReason);
87 88
88 size_t hash_value(DeoptimizeReason reason); 89 size_t hash_value(DeoptimizeReason reason);
89 90
90 char const* DeoptimizeReasonToString(DeoptimizeReason reason); 91 char const* DeoptimizeReasonToString(DeoptimizeReason reason);
91 92
92 } // namespace internal 93 } // namespace internal
93 } // namespace v8 94 } // namespace v8
94 95
95 #endif // V8_DEOPTIMIZE_REASON_H_ 96 #endif // V8_DEOPTIMIZE_REASON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698