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

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: Remove minor key variants and calculate map index at runtime. 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
« src/code-stubs.cc ('K') | « 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..8de8e346e1dac2172a7e747e56d36977501ca625 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7299,6 +7299,16 @@ 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);
« src/code-stubs.cc ('K') | « src/full-codegen/full-codegen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698