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

Side by Side Diff: src/objects.h

Issue 2505933008: [compiler] Ensure code unsupported by Crankshaft goes to Ignition. (Closed)
Patch Set: Fix GetBaselineCode 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
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/objects-inl.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 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 7624 matching lines...) Expand 10 before | Expand all | Expand 10 after
7635 DECL_BOOLEAN_ACCESSORS(name_should_print_as_anonymous) 7635 DECL_BOOLEAN_ACCESSORS(name_should_print_as_anonymous)
7636 7636
7637 // Indicates that the function is either an anonymous expression 7637 // Indicates that the function is either an anonymous expression
7638 // or an arrow function (the name field can be set through the API, 7638 // or an arrow function (the name field can be set through the API,
7639 // which does not change this flag). 7639 // which does not change this flag).
7640 DECL_BOOLEAN_ACCESSORS(is_anonymous_expression) 7640 DECL_BOOLEAN_ACCESSORS(is_anonymous_expression)
7641 7641
7642 // Is this a function or top-level/eval code. 7642 // Is this a function or top-level/eval code.
7643 DECL_BOOLEAN_ACCESSORS(is_function) 7643 DECL_BOOLEAN_ACCESSORS(is_function)
7644 7644
7645 // Indicates that code for this function cannot be compiled with Crankshaft. 7645 // Indicates that code for this function must be compiled through the
7646 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) 7646 // Ignition / TurboFan pipeline, and is unsupported by
7647 // FullCodegen / Crankshaft.
7648 DECL_BOOLEAN_ACCESSORS(must_use_ignition_turbo)
7647 7649
7648 // Indicates that code for this function cannot be flushed. 7650 // Indicates that code for this function cannot be flushed.
7649 DECL_BOOLEAN_ACCESSORS(dont_flush) 7651 DECL_BOOLEAN_ACCESSORS(dont_flush)
7650 7652
7651 // Indicates that this is a constructor for a base class with instance fields. 7653 // Indicates that this is a constructor for a base class with instance fields.
7652 DECL_BOOLEAN_ACCESSORS(requires_class_field_init) 7654 DECL_BOOLEAN_ACCESSORS(requires_class_field_init)
7653 // Indicates that this is a synthesized function to set up class instance 7655 // Indicates that this is a synthesized function to set up class instance
7654 // fields. 7656 // fields.
7655 DECL_BOOLEAN_ACCESSORS(is_class_field_initializer) 7657 DECL_BOOLEAN_ACCESSORS(is_class_field_initializer)
7656 7658
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
7925 kStrictModeFunction, 7927 kStrictModeFunction,
7926 kUsesArguments, 7928 kUsesArguments,
7927 kNeedsHomeObject, 7929 kNeedsHomeObject,
7928 // byte 1 7930 // byte 1
7929 kHasDuplicateParameters, 7931 kHasDuplicateParameters,
7930 kForceInline, 7932 kForceInline,
7931 kIsAsmFunction, 7933 kIsAsmFunction,
7932 kIsAnonymousExpression, 7934 kIsAnonymousExpression,
7933 kNameShouldPrintAsAnonymous, 7935 kNameShouldPrintAsAnonymous,
7934 kIsFunction, 7936 kIsFunction,
7935 kDontCrankshaft, 7937 kMustUseIgnitionTurbo,
7936 kDontFlush, 7938 kDontFlush,
7937 // byte 2 7939 // byte 2
7938 kFunctionKind, 7940 kFunctionKind,
7939 // rest of byte 2 and first two bits of byte 3 are used by FunctionKind 7941 // rest of byte 2 and first two bits of byte 3 are used by FunctionKind
7940 // byte 3 7942 // byte 3
7941 kDeserialized = kFunctionKind + 10, 7943 kDeserialized = kFunctionKind + 10,
7942 kIsDeclaration, 7944 kIsDeclaration,
7943 kIsAsmWasmBroken, 7945 kIsAsmWasmBroken,
7944 kRequiresClassFieldInit, 7946 kRequiresClassFieldInit,
7945 kIsClassFieldInitializer, 7947 kIsClassFieldInitializer,
(...skipping 3923 matching lines...) Expand 10 before | Expand all | Expand 10 after
11869 } 11871 }
11870 return value; 11872 return value;
11871 } 11873 }
11872 }; 11874 };
11873 11875
11874 11876
11875 } // NOLINT, false-positive due to second-order macros. 11877 } // NOLINT, false-positive due to second-order macros.
11876 } // NOLINT, false-positive due to second-order macros. 11878 } // NOLINT, false-positive due to second-order macros.
11877 11879
11878 #endif // V8_OBJECTS_H_ 11880 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698