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

Side by Side Diff: src/objects.h

Issue 2916063002: [turbofan] Optimize Function.prototype.bind for the common case. (Closed)
Patch Set: Address feedback. Created 3 years, 6 months 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
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/compiler/function-bind.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 4660 matching lines...) Expand 10 before | Expand all | Expand 10 after
4671 V(Date.prototype, getDate, DateGetDate) \ 4671 V(Date.prototype, getDate, DateGetDate) \
4672 V(Date.prototype, getDay, DateGetDay) \ 4672 V(Date.prototype, getDay, DateGetDay) \
4673 V(Date.prototype, getFullYear, DateGetFullYear) \ 4673 V(Date.prototype, getFullYear, DateGetFullYear) \
4674 V(Date.prototype, getHours, DateGetHours) \ 4674 V(Date.prototype, getHours, DateGetHours) \
4675 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \ 4675 V(Date.prototype, getMilliseconds, DateGetMilliseconds) \
4676 V(Date.prototype, getMinutes, DateGetMinutes) \ 4676 V(Date.prototype, getMinutes, DateGetMinutes) \
4677 V(Date.prototype, getMonth, DateGetMonth) \ 4677 V(Date.prototype, getMonth, DateGetMonth) \
4678 V(Date.prototype, getSeconds, DateGetSeconds) \ 4678 V(Date.prototype, getSeconds, DateGetSeconds) \
4679 V(Date.prototype, getTime, DateGetTime) \ 4679 V(Date.prototype, getTime, DateGetTime) \
4680 V(Function.prototype, apply, FunctionApply) \ 4680 V(Function.prototype, apply, FunctionApply) \
4681 V(Function.prototype, bind, FunctionBind) \
4681 V(Function.prototype, call, FunctionCall) \ 4682 V(Function.prototype, call, FunctionCall) \
4682 V(Object, assign, ObjectAssign) \ 4683 V(Object, assign, ObjectAssign) \
4683 V(Object, create, ObjectCreate) \ 4684 V(Object, create, ObjectCreate) \
4684 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ 4685 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \
4685 V(Object.prototype, toString, ObjectToString) \ 4686 V(Object.prototype, toString, ObjectToString) \
4686 V(RegExp.prototype, compile, RegExpCompile) \ 4687 V(RegExp.prototype, compile, RegExpCompile) \
4687 V(RegExp.prototype, exec, RegExpExec) \ 4688 V(RegExp.prototype, exec, RegExpExec) \
4688 V(RegExp.prototype, test, RegExpTest) \ 4689 V(RegExp.prototype, test, RegExpTest) \
4689 V(RegExp.prototype, toString, RegExpToString) \ 4690 V(RegExp.prototype, toString, RegExpToString) \
4690 V(String.prototype, charCodeAt, StringCharCodeAt) \ 4691 V(String.prototype, charCodeAt, StringCharCodeAt) \
(...skipping 3744 matching lines...) Expand 10 before | Expand all | Expand 10 after
8435 } 8436 }
8436 }; 8437 };
8437 8438
8438 8439
8439 } // NOLINT, false-positive due to second-order macros. 8440 } // NOLINT, false-positive due to second-order macros.
8440 } // NOLINT, false-positive due to second-order macros. 8441 } // NOLINT, false-positive due to second-order macros.
8441 8442
8442 #include "src/objects/object-macros-undef.h" 8443 #include "src/objects/object-macros-undef.h"
8443 8444
8444 #endif // V8_OBJECTS_H_ 8445 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/compiler/function-bind.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698