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

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

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Convert GetSuperConstructor to a new interpreter bytecode 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 V(JSCreateLiteralObject) \ 130 V(JSCreateLiteralObject) \
131 V(JSCreateLiteralRegExp) \ 131 V(JSCreateLiteralRegExp) \
132 V(JSLoadProperty) \ 132 V(JSLoadProperty) \
133 V(JSLoadNamed) \ 133 V(JSLoadNamed) \
134 V(JSLoadGlobal) \ 134 V(JSLoadGlobal) \
135 V(JSStoreProperty) \ 135 V(JSStoreProperty) \
136 V(JSStoreNamed) \ 136 V(JSStoreNamed) \
137 V(JSStoreGlobal) \ 137 V(JSStoreGlobal) \
138 V(JSDeleteProperty) \ 138 V(JSDeleteProperty) \
139 V(JSHasProperty) \ 139 V(JSHasProperty) \
140 V(JSInstanceOf) 140 V(JSInstanceOf) \
141 V(JSGetSuperConstructor)
caitp 2016/11/21 13:52:53 Do we need this to be a JS operator instead of a s
Benedikt Meurer 2016/11/23 04:51:00 It can raise exceptions, thus it needs a proper co
141 142
142 #define JS_CONTEXT_OP_LIST(V) \ 143 #define JS_CONTEXT_OP_LIST(V) \
143 V(JSLoadContext) \ 144 V(JSLoadContext) \
144 V(JSStoreContext) \ 145 V(JSStoreContext) \
145 V(JSCreateFunctionContext) \ 146 V(JSCreateFunctionContext) \
146 V(JSCreateCatchContext) \ 147 V(JSCreateCatchContext) \
147 V(JSCreateWithContext) \ 148 V(JSCreateWithContext) \
148 V(JSCreateBlockContext) \ 149 V(JSCreateBlockContext) \
149 V(JSCreateScriptContext) 150 V(JSCreateScriptContext)
150 151
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 } 787 }
787 }; 788 };
788 789
789 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 790 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
790 791
791 } // namespace compiler 792 } // namespace compiler
792 } // namespace internal 793 } // namespace internal
793 } // namespace v8 794 } // namespace v8
794 795
795 #endif // V8_COMPILER_OPCODES_H_ 796 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698