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

Side by Side Diff: src/objects.h

Issue 1779123003: [compiler] Sidestep optimizing of generator resumers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-generators-disable-1
Patch Set: 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
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 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6602 matching lines...) Expand 10 before | Expand all | Expand 10 after
6613 V(Math, imul, MathImul) \ 6613 V(Math, imul, MathImul) \
6614 V(Math, clz32, MathClz32) \ 6614 V(Math, clz32, MathClz32) \
6615 V(Math, fround, MathFround) 6615 V(Math, fround, MathFround)
6616 6616
6617 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ 6617 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
6618 V(Atomics, load, AtomicsLoad) \ 6618 V(Atomics, load, AtomicsLoad) \
6619 V(Atomics, store, AtomicsStore) 6619 V(Atomics, store, AtomicsStore)
6620 6620
6621 enum BuiltinFunctionId { 6621 enum BuiltinFunctionId {
6622 kArrayCode, 6622 kArrayCode,
6623 kGeneratorObjectNext,
6624 kGeneratorObjectReturn,
6625 kGeneratorObjectThrow,
6623 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 6626 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
6624 k##name, 6627 k##name,
6625 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6628 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6626 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6629 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6627 #undef DECLARE_FUNCTION_ID 6630 #undef DECLARE_FUNCTION_ID
6628 // Fake id for a special case of Math.pow. Note, it continues the 6631 // Fake id for a special case of Math.pow. Note, it continues the
6629 // list of math functions. 6632 // list of math functions.
6630 kMathPowHalf 6633 kMathPowHalf
6631 }; 6634 };
6632 6635
(...skipping 4254 matching lines...) Expand 10 before | Expand all | Expand 10 after
10887 } 10890 }
10888 return value; 10891 return value;
10889 } 10892 }
10890 }; 10893 };
10891 10894
10892 10895
10893 } // NOLINT, false-positive due to second-order macros. 10896 } // NOLINT, false-positive due to second-order macros.
10894 } // NOLINT, false-positive due to second-order macros. 10897 } // NOLINT, false-positive due to second-order macros.
10895 10898
10896 #endif // V8_OBJECTS_H_ 10899 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698