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

Side by Side Diff: src/code-stubs.h

Issue 1423663006: [es7] Implement async functions parsing Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/flag-definitions.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 return LanguageModeBits::decode(sub_minor_key()); 758 return LanguageModeBits::decode(sub_minor_key());
759 } 759 }
760 760
761 FunctionKind kind() const { 761 FunctionKind kind() const {
762 return FunctionKindBits::decode(sub_minor_key()); 762 return FunctionKindBits::decode(sub_minor_key());
763 } 763 }
764 764
765 private: 765 private:
766 STATIC_ASSERT(LANGUAGE_END == 3); 766 STATIC_ASSERT(LANGUAGE_END == 3);
767 class LanguageModeBits : public BitField<LanguageMode, 0, 2> {}; 767 class LanguageModeBits : public BitField<LanguageMode, 0, 2> {};
768 class FunctionKindBits : public BitField<FunctionKind, 2, 8> {}; 768 class FunctionKindBits : public BitField<FunctionKind, 2, 9> {};
769 769
770 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); 770 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure);
771 DEFINE_HYDROGEN_CODE_STUB(FastNewClosure, HydrogenCodeStub); 771 DEFINE_HYDROGEN_CODE_STUB(FastNewClosure, HydrogenCodeStub);
772 }; 772 };
773 773
774 774
775 class FastNewContextStub final : public HydrogenCodeStub { 775 class FastNewContextStub final : public HydrogenCodeStub {
776 public: 776 public:
777 static const int kMaximumSlots = 64; 777 static const int kMaximumSlots = 64;
778 778
(...skipping 2340 matching lines...) Expand 10 before | Expand all | Expand 10 after
3119 #undef DEFINE_HYDROGEN_CODE_STUB 3119 #undef DEFINE_HYDROGEN_CODE_STUB
3120 #undef DEFINE_CODE_STUB 3120 #undef DEFINE_CODE_STUB
3121 #undef DEFINE_CODE_STUB_BASE 3121 #undef DEFINE_CODE_STUB_BASE
3122 3122
3123 extern Representation RepresentationFromType(Type* type); 3123 extern Representation RepresentationFromType(Type* type);
3124 3124
3125 } // namespace internal 3125 } // namespace internal
3126 } // namespace v8 3126 } // namespace v8
3127 3127
3128 #endif // V8_CODE_STUBS_H_ 3128 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698