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

Side by Side Diff: src/objects.h

Issue 2505933008: [compiler] Ensure code unsupported by Crankshaft goes to Ignition. (Closed)
Patch Set: Disable two failing tests Created 4 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
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 7616 matching lines...) Expand 10 before | Expand all | Expand 10 after
7627 DECL_BOOLEAN_ACCESSORS(name_should_print_as_anonymous) 7627 DECL_BOOLEAN_ACCESSORS(name_should_print_as_anonymous)
7628 7628
7629 // Indicates that the function is either an anonymous expression 7629 // Indicates that the function is either an anonymous expression
7630 // or an arrow function (the name field can be set through the API, 7630 // or an arrow function (the name field can be set through the API,
7631 // which does not change this flag). 7631 // which does not change this flag).
7632 DECL_BOOLEAN_ACCESSORS(is_anonymous_expression) 7632 DECL_BOOLEAN_ACCESSORS(is_anonymous_expression)
7633 7633
7634 // Is this a function or top-level/eval code. 7634 // Is this a function or top-level/eval code.
7635 DECL_BOOLEAN_ACCESSORS(is_function) 7635 DECL_BOOLEAN_ACCESSORS(is_function)
7636 7636
7637 // Indicates that code for this function cannot be compiled with Crankshaft. 7637 // Indicates that code for this function must be compiled through the
7638 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) 7638 // Ignition / TurboFan pipeline, and is unsupported by
7639 // FullCodegen / Crankshaft.
7640 DECL_BOOLEAN_ACCESSORS(must_use_ignition_turbo)
7639 7641
7640 // Indicates that code for this function cannot be flushed. 7642 // Indicates that code for this function cannot be flushed.
7641 DECL_BOOLEAN_ACCESSORS(dont_flush) 7643 DECL_BOOLEAN_ACCESSORS(dont_flush)
7642 7644
7643 // Indicates that this is a constructor for a base class with instance fields. 7645 // Indicates that this is a constructor for a base class with instance fields.
7644 DECL_BOOLEAN_ACCESSORS(requires_class_field_init) 7646 DECL_BOOLEAN_ACCESSORS(requires_class_field_init)
7645 // Indicates that this is a synthesized function to set up class instance 7647 // Indicates that this is a synthesized function to set up class instance
7646 // fields. 7648 // fields.
7647 DECL_BOOLEAN_ACCESSORS(is_class_field_initializer) 7649 DECL_BOOLEAN_ACCESSORS(is_class_field_initializer)
7648 7650
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
7917 kStrictModeFunction, 7919 kStrictModeFunction,
7918 kUsesArguments, 7920 kUsesArguments,
7919 kNeedsHomeObject, 7921 kNeedsHomeObject,
7920 // byte 1 7922 // byte 1
7921 kHasDuplicateParameters, 7923 kHasDuplicateParameters,
7922 kForceInline, 7924 kForceInline,
7923 kIsAsmFunction, 7925 kIsAsmFunction,
7924 kIsAnonymousExpression, 7926 kIsAnonymousExpression,
7925 kNameShouldPrintAsAnonymous, 7927 kNameShouldPrintAsAnonymous,
7926 kIsFunction, 7928 kIsFunction,
7927 kDontCrankshaft, 7929 kMustUseIgnitionTurbo,
7928 kDontFlush, 7930 kDontFlush,
7929 // byte 2 7931 // byte 2
7930 kFunctionKind, 7932 kFunctionKind,
7931 // rest of byte 2 and first two bits of byte 3 are used by FunctionKind 7933 // rest of byte 2 and first two bits of byte 3 are used by FunctionKind
7932 // byte 3 7934 // byte 3
7933 kDeserialized = kFunctionKind + 10, 7935 kDeserialized = kFunctionKind + 10,
7934 kIsDeclaration, 7936 kIsDeclaration,
7935 kIsAsmWasmBroken, 7937 kIsAsmWasmBroken,
7936 kRequiresClassFieldInit, 7938 kRequiresClassFieldInit,
7937 kIsClassFieldInitializer, 7939 kIsClassFieldInitializer,
(...skipping 3924 matching lines...) Expand 10 before | Expand all | Expand 10 after
11862 } 11864 }
11863 return value; 11865 return value;
11864 } 11866 }
11865 }; 11867 };
11866 11868
11867 11869
11868 } // NOLINT, false-positive due to second-order macros. 11870 } // NOLINT, false-positive due to second-order macros.
11869 } // NOLINT, false-positive due to second-order macros. 11871 } // NOLINT, false-positive due to second-order macros.
11870 11872
11871 #endif // V8_OBJECTS_H_ 11873 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698