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

Side by Side Diff: src/code-stub-assembler.h

Issue 2853393002: [builtins] Migrate Object.keys to CodeStubAssembler builtin. (Closed)
Patch Set: Properly handle the empty case. Created 3 years, 7 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
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 Node* InstanceTypeEqual(Node* instance_type, int type); 731 Node* InstanceTypeEqual(Node* instance_type, int type);
732 Node* IsSpecialReceiverMap(Node* map); 732 Node* IsSpecialReceiverMap(Node* map);
733 Node* IsSpecialReceiverInstanceType(Node* instance_type); 733 Node* IsSpecialReceiverInstanceType(Node* instance_type);
734 Node* IsStringInstanceType(Node* instance_type); 734 Node* IsStringInstanceType(Node* instance_type);
735 Node* IsOneByteStringInstanceType(Node* instance_type); 735 Node* IsOneByteStringInstanceType(Node* instance_type);
736 Node* IsExternalStringInstanceType(Node* instance_type); 736 Node* IsExternalStringInstanceType(Node* instance_type);
737 Node* IsShortExternalStringInstanceType(Node* instance_type); 737 Node* IsShortExternalStringInstanceType(Node* instance_type);
738 Node* IsSequentialStringInstanceType(Node* instance_type); 738 Node* IsSequentialStringInstanceType(Node* instance_type);
739 Node* IsConsStringInstanceType(Node* instance_type); 739 Node* IsConsStringInstanceType(Node* instance_type);
740 Node* IsString(Node* object); 740 Node* IsString(Node* object);
741 Node* IsJSObjectMap(Node* map);
741 Node* IsJSObject(Node* object); 742 Node* IsJSObject(Node* object);
742 Node* IsJSGlobalProxy(Node* object); 743 Node* IsJSGlobalProxy(Node* object);
743 Node* IsJSReceiverInstanceType(Node* instance_type); 744 Node* IsJSReceiverInstanceType(Node* instance_type);
744 Node* IsJSReceiver(Node* object); 745 Node* IsJSReceiver(Node* object);
745 Node* IsJSReceiverMap(Node* map); 746 Node* IsJSReceiverMap(Node* map);
746 Node* IsMap(Node* object); 747 Node* IsMap(Node* object);
747 Node* IsCallableMap(Node* map); 748 Node* IsCallableMap(Node* map);
748 Node* IsDeprecatedMap(Node* map); 749 Node* IsDeprecatedMap(Node* map);
749 Node* IsCallable(Node* object); 750 Node* IsCallable(Node* object);
750 Node* IsBoolean(Node* object); 751 Node* IsBoolean(Node* object);
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 } 1590 }
1590 #else 1591 #else
1591 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1592 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1592 #endif 1593 #endif
1593 1594
1594 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1595 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1595 1596
1596 } // namespace internal 1597 } // namespace internal
1597 } // namespace v8 1598 } // namespace v8
1598 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1599 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698