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

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

Issue 1651993002: [interpreter] Clear pending message object on handler entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adapt status. 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 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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 F(InterpreterStrictNotEquals, 2, 1) \ 216 F(InterpreterStrictNotEquals, 2, 1) \
217 F(InterpreterLessThan, 2, 1) \ 217 F(InterpreterLessThan, 2, 1) \
218 F(InterpreterGreaterThan, 2, 1) \ 218 F(InterpreterGreaterThan, 2, 1) \
219 F(InterpreterLessThanOrEqual, 2, 1) \ 219 F(InterpreterLessThanOrEqual, 2, 1) \
220 F(InterpreterGreaterThanOrEqual, 2, 1) \ 220 F(InterpreterGreaterThanOrEqual, 2, 1) \
221 F(InterpreterToBoolean, 1, 1) \ 221 F(InterpreterToBoolean, 1, 1) \
222 F(InterpreterLogicalNot, 1, 1) \ 222 F(InterpreterLogicalNot, 1, 1) \
223 F(InterpreterTypeOf, 1, 1) \ 223 F(InterpreterTypeOf, 1, 1) \
224 F(InterpreterNewClosure, 2, 1) \ 224 F(InterpreterNewClosure, 2, 1) \
225 F(InterpreterTraceBytecodeEntry, 3, 1) \ 225 F(InterpreterTraceBytecodeEntry, 3, 1) \
226 F(InterpreterTraceBytecodeExit, 3, 1) 226 F(InterpreterTraceBytecodeExit, 3, 1) \
227 F(InterpreterClearPendingMessage, 0, 1) \
228 F(InterpreterGetPendingMessage, 0, 1) \
229 F(InterpreterSetPendingMessage, 1, 1)
227 230
228 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ 231 #define FOR_EACH_INTRINSIC_FUNCTION(F) \
229 F(FunctionGetName, 1, 1) \ 232 F(FunctionGetName, 1, 1) \
230 F(FunctionSetName, 2, 1) \ 233 F(FunctionSetName, 2, 1) \
231 F(FunctionRemovePrototype, 1, 1) \ 234 F(FunctionRemovePrototype, 1, 1) \
232 F(FunctionGetScript, 1, 1) \ 235 F(FunctionGetScript, 1, 1) \
233 F(FunctionGetSourceCode, 1, 1) \ 236 F(FunctionGetSourceCode, 1, 1) \
234 F(FunctionGetScriptSourcePosition, 1, 1) \ 237 F(FunctionGetScriptSourcePosition, 1, 1) \
235 F(FunctionGetPositionForOffset, 2, 1) \ 238 F(FunctionGetPositionForOffset, 2, 1) \
236 F(FunctionSetInstanceClassName, 2, 1) \ 239 F(FunctionSetInstanceClassName, 2, 1) \
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 1260
1258 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1261 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1259 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1262 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1260 STATIC_ASSERT(LANGUAGE_END == 3); 1263 STATIC_ASSERT(LANGUAGE_END == 3);
1261 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1264 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1262 1265
1263 } // namespace internal 1266 } // namespace internal
1264 } // namespace v8 1267 } // namespace v8
1265 1268
1266 #endif // V8_RUNTIME_RUNTIME_H_ 1269 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698