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

Side by Side Diff: src/builtins.h

Issue 1819813002: [es6] Faster implementation of OrdinaryHasInstance. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revert flag-flip again. Created 4 years, 9 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/arm64/code-stubs-arm64.cc ('k') | src/builtins.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 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_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 V(DatePrototypeToUTCString, kNone) \ 103 V(DatePrototypeToUTCString, kNone) \
104 V(DatePrototypeToString, kNone) \ 104 V(DatePrototypeToString, kNone) \
105 V(DatePrototypeToTimeString, kNone) \ 105 V(DatePrototypeToTimeString, kNone) \
106 V(DatePrototypeValueOf, kNone) \ 106 V(DatePrototypeValueOf, kNone) \
107 V(DatePrototypeGetYear, kNone) \ 107 V(DatePrototypeGetYear, kNone) \
108 V(DatePrototypeSetYear, kNone) \ 108 V(DatePrototypeSetYear, kNone) \
109 \ 109 \
110 V(FunctionConstructor, kTargetAndNewTarget) \ 110 V(FunctionConstructor, kTargetAndNewTarget) \
111 V(FunctionPrototypeBind, kNone) \ 111 V(FunctionPrototypeBind, kNone) \
112 V(FunctionPrototypeToString, kNone) \ 112 V(FunctionPrototypeToString, kNone) \
113 V(FunctionHasInstance, kNone) \
114 \ 113 \
115 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \ 114 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \
116 \ 115 \
117 V(GlobalEval, kTarget) \ 116 V(GlobalEval, kTarget) \
118 \ 117 \
119 V(MathAcos, kNone) \ 118 V(MathAcos, kNone) \
120 V(MathAsin, kNone) \ 119 V(MathAsin, kNone) \
121 V(MathAtan, kNone) \ 120 V(MathAtan, kNone) \
122 V(MathFround, kNone) \ 121 V(MathFround, kNone) \
123 V(MathImul, kNone) \ 122 V(MathImul, kNone) \
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 V(DatePrototypeGetTimezoneOffset, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 264 V(DatePrototypeGetTimezoneOffset, BUILTIN, UNINITIALIZED, kNoExtraICState) \
266 V(DatePrototypeGetUTCDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 265 V(DatePrototypeGetUTCDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \
267 V(DatePrototypeGetUTCDay, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 266 V(DatePrototypeGetUTCDay, BUILTIN, UNINITIALIZED, kNoExtraICState) \
268 V(DatePrototypeGetUTCFullYear, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 267 V(DatePrototypeGetUTCFullYear, BUILTIN, UNINITIALIZED, kNoExtraICState) \
269 V(DatePrototypeGetUTCHours, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 268 V(DatePrototypeGetUTCHours, BUILTIN, UNINITIALIZED, kNoExtraICState) \
270 V(DatePrototypeGetUTCMilliseconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 269 V(DatePrototypeGetUTCMilliseconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \
271 V(DatePrototypeGetUTCMinutes, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 270 V(DatePrototypeGetUTCMinutes, BUILTIN, UNINITIALIZED, kNoExtraICState) \
272 V(DatePrototypeGetUTCMonth, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 271 V(DatePrototypeGetUTCMonth, BUILTIN, UNINITIALIZED, kNoExtraICState) \
273 V(DatePrototypeGetUTCSeconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 272 V(DatePrototypeGetUTCSeconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \
274 \ 273 \
274 V(FunctionHasInstance, BUILTIN, UNINITIALIZED, kNoExtraICState) \
275 V(FunctionPrototypeApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 275 V(FunctionPrototypeApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \
276 V(FunctionPrototypeCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 276 V(FunctionPrototypeCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
277 \ 277 \
278 V(ReflectApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 278 V(ReflectApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \
279 V(ReflectConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 279 V(ReflectConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
280 \ 280 \
281 V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 281 V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \
282 V(ArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 282 V(ArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \
283 \ 283 \
284 V(MathMax, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 284 V(MathMax, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 static void Generate_DatePrototypeGetUTCHours(MacroAssembler* masm); 547 static void Generate_DatePrototypeGetUTCHours(MacroAssembler* masm);
548 // ES6 section 20.3.4.16 Date.prototype.getUTCMilliseconds ( ) 548 // ES6 section 20.3.4.16 Date.prototype.getUTCMilliseconds ( )
549 static void Generate_DatePrototypeGetUTCMilliseconds(MacroAssembler* masm); 549 static void Generate_DatePrototypeGetUTCMilliseconds(MacroAssembler* masm);
550 // ES6 section 20.3.4.17 Date.prototype.getUTCMinutes ( ) 550 // ES6 section 20.3.4.17 Date.prototype.getUTCMinutes ( )
551 static void Generate_DatePrototypeGetUTCMinutes(MacroAssembler* masm); 551 static void Generate_DatePrototypeGetUTCMinutes(MacroAssembler* masm);
552 // ES6 section 20.3.4.18 Date.prototype.getUTCMonth ( ) 552 // ES6 section 20.3.4.18 Date.prototype.getUTCMonth ( )
553 static void Generate_DatePrototypeGetUTCMonth(MacroAssembler* masm); 553 static void Generate_DatePrototypeGetUTCMonth(MacroAssembler* masm);
554 // ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( ) 554 // ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( )
555 static void Generate_DatePrototypeGetUTCSeconds(MacroAssembler* masm); 555 static void Generate_DatePrototypeGetUTCSeconds(MacroAssembler* masm);
556 556
557 static void Generate_FunctionHasInstance(MacroAssembler* masm);
557 static void Generate_FunctionPrototypeApply(MacroAssembler* masm); 558 static void Generate_FunctionPrototypeApply(MacroAssembler* masm);
558 static void Generate_FunctionPrototypeCall(MacroAssembler* masm); 559 static void Generate_FunctionPrototypeCall(MacroAssembler* masm);
559 560
560 static void Generate_ReflectApply(MacroAssembler* masm); 561 static void Generate_ReflectApply(MacroAssembler* masm);
561 static void Generate_ReflectConstruct(MacroAssembler* masm); 562 static void Generate_ReflectConstruct(MacroAssembler* masm);
562 563
563 static void Generate_InternalArrayCode(MacroAssembler* masm); 564 static void Generate_InternalArrayCode(MacroAssembler* masm);
564 static void Generate_ArrayCode(MacroAssembler* masm); 565 static void Generate_ArrayCode(MacroAssembler* masm);
565 566
566 enum class MathMaxMinKind { kMax, kMin }; 567 enum class MathMaxMinKind { kMax, kMin };
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 friend class BuiltinFunctionTable; 622 friend class BuiltinFunctionTable;
622 friend class Isolate; 623 friend class Isolate;
623 624
624 DISALLOW_COPY_AND_ASSIGN(Builtins); 625 DISALLOW_COPY_AND_ASSIGN(Builtins);
625 }; 626 };
626 627
627 } // namespace internal 628 } // namespace internal
628 } // namespace v8 629 } // namespace v8
629 630
630 #endif // V8_BUILTINS_H_ 631 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698