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

Unified Diff: src/objects.h

Issue 2100883003: [Code Stubs] Convert FastNewClosureStub to a TurboFanCodeStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ia32 Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index d812c326297ebcf4c081af598dde69ee1da7a313..c9b074357d0bb951a51debf0e62b8930db9275a4 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7299,9 +7299,21 @@ class SharedFunctionInfo: public HeapObject {
static const int kHasDuplicateParametersBit =
kHasDuplicateParameters + kCompilerHintsSmiTagSize;
+ static const int kIsArrowBit = kIsArrow + kCompilerHintsSmiTagSize;
+ static const int kIsGeneratorBit = kIsGenerator + kCompilerHintsSmiTagSize;
+ static const int kIsConciseMethodBit =
+ kIsConciseMethod + kCompilerHintsSmiTagSize;
+ static const int kIsAsyncFunctionBit =
+ kIsAsyncFunction + kCompilerHintsSmiTagSize;
+
+ static const int kAccessorFunctionBits =
+ FunctionKind::kAccessorFunction
+ << (kFunctionKind + kCompilerHintsSmiTagSize);
static const int kClassConstructorBits =
FunctionKind::kClassConstructor
<< (kFunctionKind + kCompilerHintsSmiTagSize);
+ static const int kFunctionKindMaskBits = FunctionKindBits::kMask
+ << kCompilerHintsSmiTagSize;
// Constants for optimizing codegen for strict mode function and
// native tests.
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698