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

Side by Side Diff: src/builtins/builtins.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \ 552 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \
553 TFJ(ObjectProtoToString, 0) \ 553 TFJ(ObjectProtoToString, 0) \
554 CPP(ObjectPrototypePropertyIsEnumerable) \ 554 CPP(ObjectPrototypePropertyIsEnumerable) \
555 CPP(ObjectPrototypeGetProto) \ 555 CPP(ObjectPrototypeGetProto) \
556 CPP(ObjectPrototypeSetProto) \ 556 CPP(ObjectPrototypeSetProto) \
557 CPP(ObjectSeal) \ 557 CPP(ObjectSeal) \
558 CPP(ObjectValues) \ 558 CPP(ObjectValues) \
559 \ 559 \
560 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ 560 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \
561 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ 561 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \
562 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \
562 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ 563 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
563 \ 564 \
564 /* Promise */ \ 565 /* Promise */ \
565 CPP(CreateResolvingFunctions) \ 566 CPP(CreateResolvingFunctions) \
566 CPP(PromiseResolveClosure) \ 567 CPP(PromiseResolveClosure) \
567 CPP(PromiseRejectClosure) \ 568 CPP(PromiseRejectClosure) \
568 \ 569 \
569 /* Proxy */ \ 570 /* Proxy */ \
570 CPP(ProxyConstructor) \ 571 CPP(ProxyConstructor) \
571 CPP(ProxyConstructor_ConstructStub) \ 572 CPP(ProxyConstructor_ConstructStub) \
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 841
841 friend class Isolate; 842 friend class Isolate;
842 843
843 DISALLOW_COPY_AND_ASSIGN(Builtins); 844 DISALLOW_COPY_AND_ASSIGN(Builtins);
844 }; 845 };
845 846
846 } // namespace internal 847 } // namespace internal
847 } // namespace v8 848 } // namespace v8
848 849
849 #endif // V8_BUILTINS_BUILTINS_H_ 850 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698