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

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

Issue 1738883002: [runtime] Unify comparison operator runtime entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 200
201 #define FOR_EACH_INTRINSIC_FORIN(F) \ 201 #define FOR_EACH_INTRINSIC_FORIN(F) \
202 F(ForInDone, 2, 1) \ 202 F(ForInDone, 2, 1) \
203 F(ForInEnumerate, 1, 1) \ 203 F(ForInEnumerate, 1, 1) \
204 F(ForInFilter, 2, 1) \ 204 F(ForInFilter, 2, 1) \
205 F(ForInNext, 4, 1) \ 205 F(ForInNext, 4, 1) \
206 F(ForInStep, 1, 1) 206 F(ForInStep, 1, 1)
207 207
208 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ 208 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \
209 F(InterpreterEquals, 2, 1) \
210 F(InterpreterNotEquals, 2, 1) \
211 F(InterpreterStrictEquals, 2, 1) \
212 F(InterpreterStrictNotEquals, 2, 1) \
213 F(InterpreterLessThan, 2, 1) \ 209 F(InterpreterLessThan, 2, 1) \
214 F(InterpreterGreaterThan, 2, 1) \ 210 F(InterpreterGreaterThan, 2, 1) \
215 F(InterpreterLessThanOrEqual, 2, 1) \ 211 F(InterpreterLessThanOrEqual, 2, 1) \
216 F(InterpreterGreaterThanOrEqual, 2, 1) \ 212 F(InterpreterGreaterThanOrEqual, 2, 1) \
217 F(InterpreterToBoolean, 1, 1) \ 213 F(InterpreterToBoolean, 1, 1) \
218 F(InterpreterLogicalNot, 1, 1) \ 214 F(InterpreterLogicalNot, 1, 1) \
219 F(InterpreterNewClosure, 2, 1) \ 215 F(InterpreterNewClosure, 2, 1) \
220 F(InterpreterTraceBytecodeEntry, 3, 1) \ 216 F(InterpreterTraceBytecodeEntry, 3, 1) \
221 F(InterpreterTraceBytecodeExit, 3, 1) \ 217 F(InterpreterTraceBytecodeExit, 3, 1) \
222 F(InterpreterClearPendingMessage, 0, 1) \ 218 F(InterpreterClearPendingMessage, 0, 1) \
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 F(DefineSetterPropertyUnchecked, 4, 1) \ 444 F(DefineSetterPropertyUnchecked, 4, 1) \
449 F(ToObject, 1, 1) \ 445 F(ToObject, 1, 1) \
450 F(ToPrimitive, 1, 1) \ 446 F(ToPrimitive, 1, 1) \
451 F(ToPrimitive_Number, 1, 1) \ 447 F(ToPrimitive_Number, 1, 1) \
452 F(ToPrimitive_String, 1, 1) \ 448 F(ToPrimitive_String, 1, 1) \
453 F(ToNumber, 1, 1) \ 449 F(ToNumber, 1, 1) \
454 F(ToInteger, 1, 1) \ 450 F(ToInteger, 1, 1) \
455 F(ToLength, 1, 1) \ 451 F(ToLength, 1, 1) \
456 F(ToString, 1, 1) \ 452 F(ToString, 1, 1) \
457 F(ToName, 1, 1) \ 453 F(ToName, 1, 1) \
458 F(Equals, 2, 1) \
459 F(StrictEquals, 2, 1) \
460 F(SameValue, 2, 1) \ 454 F(SameValue, 2, 1) \
461 F(SameValueZero, 2, 1) \ 455 F(SameValueZero, 2, 1) \
462 F(Compare, 3, 1) \ 456 F(Compare, 3, 1) \
463 F(InstanceOf, 2, 1) \ 457 F(InstanceOf, 2, 1) \
464 F(HasInPrototypeChain, 2, 1) \ 458 F(HasInPrototypeChain, 2, 1) \
465 F(CreateIterResultObject, 2, 1) \ 459 F(CreateIterResultObject, 2, 1) \
466 F(IsAccessCheckNeeded, 1, 1) \ 460 F(IsAccessCheckNeeded, 1, 1) \
467 F(ObjectDefineProperties, 2, 1) \ 461 F(ObjectDefineProperties, 2, 1) \
468 F(ObjectDefineProperty, 3, 1) 462 F(ObjectDefineProperty, 3, 1)
469 463
(...skipping 14 matching lines...) Expand all
484 F(Multiply, 2, 1) \ 478 F(Multiply, 2, 1) \
485 F(Divide, 2, 1) \ 479 F(Divide, 2, 1) \
486 F(Modulus, 2, 1) \ 480 F(Modulus, 2, 1) \
487 F(Add, 2, 1) \ 481 F(Add, 2, 1) \
488 F(Subtract, 2, 1) \ 482 F(Subtract, 2, 1) \
489 F(ShiftLeft, 2, 1) \ 483 F(ShiftLeft, 2, 1) \
490 F(ShiftRight, 2, 1) \ 484 F(ShiftRight, 2, 1) \
491 F(ShiftRightLogical, 2, 1) \ 485 F(ShiftRightLogical, 2, 1) \
492 F(BitwiseAnd, 2, 1) \ 486 F(BitwiseAnd, 2, 1) \
493 F(BitwiseOr, 2, 1) \ 487 F(BitwiseOr, 2, 1) \
494 F(BitwiseXor, 2, 1) 488 F(BitwiseXor, 2, 1) \
489 F(Equals, 2, 1) \
490 F(NotEquals, 2, 1) \
491 F(StrictEquals, 2, 1) \
492 F(StrictNotEquals, 2, 1)
495 493
496 #define FOR_EACH_INTRINSIC_PROXY(F) \ 494 #define FOR_EACH_INTRINSIC_PROXY(F) \
497 F(IsJSProxy, 1, 1) \ 495 F(IsJSProxy, 1, 1) \
498 F(JSProxyCall, -1 /* >= 2 */, 1) \ 496 F(JSProxyCall, -1 /* >= 2 */, 1) \
499 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ 497 F(JSProxyConstruct, -1 /* >= 3 */, 1) \
500 F(JSProxyGetTarget, 1, 1) \ 498 F(JSProxyGetTarget, 1, 1) \
501 F(JSProxyGetHandler, 1, 1) \ 499 F(JSProxyGetHandler, 1, 1) \
502 F(JSProxyRevoke, 1, 1) 500 F(JSProxyRevoke, 1, 1)
503 501
504 #define FOR_EACH_INTRINSIC_REGEXP(F) \ 502 #define FOR_EACH_INTRINSIC_REGEXP(F) \
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 1194
1197 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1195 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1198 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1196 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1199 STATIC_ASSERT(LANGUAGE_END == 3); 1197 STATIC_ASSERT(LANGUAGE_END == 3);
1200 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1198 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1201 1199
1202 } // namespace internal 1200 } // namespace internal
1203 } // namespace v8 1201 } // namespace v8
1204 1202
1205 #endif // V8_RUNTIME_RUNTIME_H_ 1203 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698