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

Side by Side Diff: src/code-factory.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 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_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 static Callable StringCompare(Isolate* isolate, Token::Value token); 112 static Callable StringCompare(Isolate* isolate, Token::Value token);
113 static Callable StringEqual(Isolate* isolate); 113 static Callable StringEqual(Isolate* isolate);
114 static Callable StringNotEqual(Isolate* isolate); 114 static Callable StringNotEqual(Isolate* isolate);
115 static Callable StringLessThan(Isolate* isolate); 115 static Callable StringLessThan(Isolate* isolate);
116 static Callable StringLessThanOrEqual(Isolate* isolate); 116 static Callable StringLessThanOrEqual(Isolate* isolate);
117 static Callable StringGreaterThan(Isolate* isolate); 117 static Callable StringGreaterThan(Isolate* isolate);
118 static Callable StringGreaterThanOrEqual(Isolate* isolate); 118 static Callable StringGreaterThanOrEqual(Isolate* isolate);
119 static Callable SubString(Isolate* isolate); 119 static Callable SubString(Isolate* isolate);
120 120
121 static Callable Typeof(Isolate* isolate); 121 static Callable Typeof(Isolate* isolate);
122 static Callable GetSuperConstructor(Isolate* isolate);
122 123
123 static Callable FastCloneRegExp(Isolate* isolate); 124 static Callable FastCloneRegExp(Isolate* isolate);
124 static Callable FastCloneShallowArray(Isolate* isolate); 125 static Callable FastCloneShallowArray(Isolate* isolate);
125 static Callable FastCloneShallowObject(Isolate* isolate, int length); 126 static Callable FastCloneShallowObject(Isolate* isolate, int length);
126 127
127 static Callable FastNewFunctionContext(Isolate* isolate); 128 static Callable FastNewFunctionContext(Isolate* isolate);
128 static Callable FastNewClosure(Isolate* isolate); 129 static Callable FastNewClosure(Isolate* isolate);
129 static Callable FastNewObject(Isolate* isolate); 130 static Callable FastNewObject(Isolate* isolate);
130 static Callable FastNewRestParameter(Isolate* isolate, 131 static Callable FastNewRestParameter(Isolate* isolate,
131 bool skip_stub_frame = false); 132 bool skip_stub_frame = false);
(...skipping 30 matching lines...) Expand all
162 Isolate* isolate, CallableType function_type = CallableType::kAny); 163 Isolate* isolate, CallableType function_type = CallableType::kAny);
163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); 164 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate);
164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 165 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
165 static Callable InterpreterOnStackReplacement(Isolate* isolate); 166 static Callable InterpreterOnStackReplacement(Isolate* isolate);
166 }; 167 };
167 168
168 } // namespace internal 169 } // namespace internal
169 } // namespace v8 170 } // namespace v8
170 171
171 #endif // V8_CODE_FACTORY_H_ 172 #endif // V8_CODE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698