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

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

Issue 2511223003: [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance). (Closed)
Patch Set: Created 4 years, 1 month 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 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 V(JSCreateLiteralObject) \ 133 V(JSCreateLiteralObject) \
134 V(JSCreateLiteralRegExp) \ 134 V(JSCreateLiteralRegExp) \
135 V(JSLoadProperty) \ 135 V(JSLoadProperty) \
136 V(JSLoadNamed) \ 136 V(JSLoadNamed) \
137 V(JSLoadGlobal) \ 137 V(JSLoadGlobal) \
138 V(JSStoreProperty) \ 138 V(JSStoreProperty) \
139 V(JSStoreNamed) \ 139 V(JSStoreNamed) \
140 V(JSStoreGlobal) \ 140 V(JSStoreGlobal) \
141 V(JSDeleteProperty) \ 141 V(JSDeleteProperty) \
142 V(JSHasProperty) \ 142 V(JSHasProperty) \
143 V(JSInstanceOf) 143 V(JSInstanceOf) \
144 V(JSOrdinaryHasInstance)
144 145
145 #define JS_CONTEXT_OP_LIST(V) \ 146 #define JS_CONTEXT_OP_LIST(V) \
146 V(JSLoadContext) \ 147 V(JSLoadContext) \
147 V(JSStoreContext) \ 148 V(JSStoreContext) \
148 V(JSCreateFunctionContext) \ 149 V(JSCreateFunctionContext) \
149 V(JSCreateCatchContext) \ 150 V(JSCreateCatchContext) \
150 V(JSCreateWithContext) \ 151 V(JSCreateWithContext) \
151 V(JSCreateBlockContext) \ 152 V(JSCreateBlockContext) \
152 V(JSCreateScriptContext) 153 V(JSCreateScriptContext)
153 154
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 } 795 }
795 }; 796 };
796 797
797 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 798 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
798 799
799 } // namespace compiler 800 } // namespace compiler
800 } // namespace internal 801 } // namespace internal
801 } // namespace v8 802 } // namespace v8
802 803
803 #endif // V8_COMPILER_OPCODES_H_ 804 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698