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

Side by Side Diff: src/runtime/runtime.h

Issue 2684043002: [turbofan] Use fast stub for ForInPrepare and ForInNext (Closed)
Patch Set: add missing SmiUntag and remove ForInNext RT function Created 3 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 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 F(DebugAsyncEventEnqueueRecurring, 2, 1) \ 202 F(DebugAsyncEventEnqueueRecurring, 2, 1) \
203 F(DebugAsyncFunctionPromiseCreated, 1, 1) \ 203 F(DebugAsyncFunctionPromiseCreated, 1, 1) \
204 F(DebugIsActive, 0, 1) \ 204 F(DebugIsActive, 0, 1) \
205 F(DebugBreakInOptimizedCode, 0, 1) 205 F(DebugBreakInOptimizedCode, 0, 1)
206 206
207 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) 207 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1)
208 208
209 #define FOR_EACH_INTRINSIC_FORIN(F) \ 209 #define FOR_EACH_INTRINSIC_FORIN(F) \
210 F(ForInEnumerate, 1, 1) \ 210 F(ForInEnumerate, 1, 1) \
211 F(ForInFilter, 2, 1) \ 211 F(ForInFilter, 2, 1) \
212 F(ForInHasProperty, 2, 1) \ 212 F(ForInHasProperty, 2, 1)
213 F(ForInNext, 4, 1)
214 213
215 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ 214 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \
216 F(InterpreterNewClosure, 4, 1) \ 215 F(InterpreterNewClosure, 4, 1) \
217 F(InterpreterTraceBytecodeEntry, 3, 1) \ 216 F(InterpreterTraceBytecodeEntry, 3, 1) \
218 F(InterpreterTraceBytecodeExit, 3, 1) \ 217 F(InterpreterTraceBytecodeExit, 3, 1) \
219 F(InterpreterAdvanceBytecodeOffset, 2, 1) 218 F(InterpreterAdvanceBytecodeOffset, 2, 1)
220 219
221 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ 220 #define FOR_EACH_INTRINSIC_FUNCTION(F) \
222 F(FunctionGetName, 1, 1) \ 221 F(FunctionGetName, 1, 1) \
223 F(FunctionSetName, 2, 1) \ 222 F(FunctionSetName, 2, 1) \
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 kMaybeDeopted = 1 << 3, 1164 kMaybeDeopted = 1 << 3,
1166 kOptimized = 1 << 4, 1165 kOptimized = 1 << 4,
1167 kTurboFanned = 1 << 5, 1166 kTurboFanned = 1 << 5,
1168 kInterpreted = 1 << 6, 1167 kInterpreted = 1 << 6,
1169 }; 1168 };
1170 1169
1171 } // namespace internal 1170 } // namespace internal
1172 } // namespace v8 1171 } // namespace v8
1173 1172
1174 #endif // V8_RUNTIME_RUNTIME_H_ 1173 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698