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

Side by Side Diff: src/objects.h

Issue 2934893002: [builtins] Properly optimize Object.prototype.isPrototypeOf. (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/js/v8natives.js ('k') | src/runtime/runtime-object.cc » ('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 4562 matching lines...) Expand 10 before | Expand all | Expand 10 after
4573 V(Date.prototype, getMinutes, DateGetMinutes) \ 4573 V(Date.prototype, getMinutes, DateGetMinutes) \
4574 V(Date.prototype, getMonth, DateGetMonth) \ 4574 V(Date.prototype, getMonth, DateGetMonth) \
4575 V(Date.prototype, getSeconds, DateGetSeconds) \ 4575 V(Date.prototype, getSeconds, DateGetSeconds) \
4576 V(Date.prototype, getTime, DateGetTime) \ 4576 V(Date.prototype, getTime, DateGetTime) \
4577 V(Function.prototype, apply, FunctionApply) \ 4577 V(Function.prototype, apply, FunctionApply) \
4578 V(Function.prototype, bind, FunctionBind) \ 4578 V(Function.prototype, bind, FunctionBind) \
4579 V(Function.prototype, call, FunctionCall) \ 4579 V(Function.prototype, call, FunctionCall) \
4580 V(Object, assign, ObjectAssign) \ 4580 V(Object, assign, ObjectAssign) \
4581 V(Object, create, ObjectCreate) \ 4581 V(Object, create, ObjectCreate) \
4582 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ 4582 V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \
4583 V(Object.prototype, isPrototypeOf, ObjectIsPrototypeOf) \
4583 V(Object.prototype, toString, ObjectToString) \ 4584 V(Object.prototype, toString, ObjectToString) \
4584 V(RegExp.prototype, compile, RegExpCompile) \ 4585 V(RegExp.prototype, compile, RegExpCompile) \
4585 V(RegExp.prototype, exec, RegExpExec) \ 4586 V(RegExp.prototype, exec, RegExpExec) \
4586 V(RegExp.prototype, test, RegExpTest) \ 4587 V(RegExp.prototype, test, RegExpTest) \
4587 V(RegExp.prototype, toString, RegExpToString) \ 4588 V(RegExp.prototype, toString, RegExpToString) \
4588 V(String.prototype, charCodeAt, StringCharCodeAt) \ 4589 V(String.prototype, charCodeAt, StringCharCodeAt) \
4589 V(String.prototype, charAt, StringCharAt) \ 4590 V(String.prototype, charAt, StringCharAt) \
4590 V(String.prototype, codePointAt, StringCodePointAt) \ 4591 V(String.prototype, codePointAt, StringCodePointAt) \
4591 V(String.prototype, concat, StringConcat) \ 4592 V(String.prototype, concat, StringConcat) \
4592 V(String.prototype, endsWith, StringEndsWith) \ 4593 V(String.prototype, endsWith, StringEndsWith) \
(...skipping 2686 matching lines...) Expand 10 before | Expand all | Expand 10 after
7279 } 7280 }
7280 }; 7281 };
7281 7282
7282 7283
7283 } // NOLINT, false-positive due to second-order macros. 7284 } // NOLINT, false-positive due to second-order macros.
7284 } // NOLINT, false-positive due to second-order macros. 7285 } // NOLINT, false-positive due to second-order macros.
7285 7286
7286 #include "src/objects/object-macros-undef.h" 7287 #include "src/objects/object-macros-undef.h"
7287 7288
7288 #endif // V8_OBJECTS_H_ 7289 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/js/v8natives.js ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698