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

Side by Side Diff: src/code-factory.cc

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Convert GetSuperConstructor to a new interpreter bytecode Created 4 years 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 TFS_BUILTIN(NotEqual) 224 TFS_BUILTIN(NotEqual)
225 TFS_BUILTIN(StrictEqual) 225 TFS_BUILTIN(StrictEqual)
226 TFS_BUILTIN(StrictNotEqual) 226 TFS_BUILTIN(StrictNotEqual)
227 TFS_BUILTIN(HasProperty) 227 TFS_BUILTIN(HasProperty)
228 TFS_BUILTIN(ToInteger) 228 TFS_BUILTIN(ToInteger)
229 TFS_BUILTIN(ToLength) 229 TFS_BUILTIN(ToLength)
230 TFS_BUILTIN(ToObject) 230 TFS_BUILTIN(ToObject)
231 TFS_BUILTIN(Typeof) 231 TFS_BUILTIN(Typeof)
232 TFS_BUILTIN(InstanceOf) 232 TFS_BUILTIN(InstanceOf)
233 TFS_BUILTIN(ForInFilter) 233 TFS_BUILTIN(ForInFilter)
234 TFS_BUILTIN(GetSuperConstructor)
234 235
235 // static 236 // static
236 Callable CodeFactory::Inc(Isolate* isolate) { 237 Callable CodeFactory::Inc(Isolate* isolate) {
237 IncStub stub(isolate); 238 IncStub stub(isolate);
238 return make_callable(stub); 239 return make_callable(stub);
239 } 240 }
240 241
241 // static 242 // static
242 Callable CodeFactory::Dec(Isolate* isolate) { 243 Callable CodeFactory::Dec(Isolate* isolate) {
243 DecStub stub(isolate); 244 DecStub stub(isolate);
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } 478 }
478 479
479 // static 480 // static
480 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 481 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
481 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 482 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
482 ContextOnlyDescriptor(isolate)); 483 ContextOnlyDescriptor(isolate));
483 } 484 }
484 485
485 } // namespace internal 486 } // namespace internal
486 } // namespace v8 487 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698