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

Side by Side Diff: src/compiler/opcodes.h

Issue 2934893002: [builtins] Properly optimize Object.prototype.isPrototypeOf. (Closed)
Patch Set: Address feedback. 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
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/operator-properties.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 V(JSAdd) \ 99 V(JSAdd) \
100 V(JSSubtract) \ 100 V(JSSubtract) \
101 V(JSMultiply) \ 101 V(JSMultiply) \
102 V(JSDivide) \ 102 V(JSDivide) \
103 V(JSModulus) 103 V(JSModulus)
104 104
105 #define JS_SIMPLE_BINOP_LIST(V) \ 105 #define JS_SIMPLE_BINOP_LIST(V) \
106 JS_COMPARE_BINOP_LIST(V) \ 106 JS_COMPARE_BINOP_LIST(V) \
107 JS_BITWISE_BINOP_LIST(V) \ 107 JS_BITWISE_BINOP_LIST(V) \
108 JS_ARITH_BINOP_LIST(V) \ 108 JS_ARITH_BINOP_LIST(V) \
109 V(JSHasInPrototypeChain) \
109 V(JSInstanceOf) \ 110 V(JSInstanceOf) \
110 V(JSOrdinaryHasInstance) 111 V(JSOrdinaryHasInstance)
111 112
112 #define JS_CONVERSION_UNOP_LIST(V) \ 113 #define JS_CONVERSION_UNOP_LIST(V) \
113 V(JSToBoolean) \ 114 V(JSToBoolean) \
114 V(JSToInteger) \ 115 V(JSToInteger) \
115 V(JSToLength) \ 116 V(JSToLength) \
116 V(JSToName) \ 117 V(JSToName) \
117 V(JSToNumber) \ 118 V(JSToNumber) \
118 V(JSToObject) \ 119 V(JSToObject) \
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 } 800 }
800 }; 801 };
801 802
802 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 803 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
803 804
804 } // namespace compiler 805 } // namespace compiler
805 } // namespace internal 806 } // namespace internal
806 } // namespace v8 807 } // namespace v8
807 808
808 #endif // V8_COMPILER_OPCODES_H_ 809 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/operator-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698