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

Unified Diff: src/ast.h

Issue 883073008: Accessor functions should have no prototype property (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use bitshift Created 5 years, 10 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/arm64/full-codegen-arm64.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index fca3aabf3a1dfa27ed5e6410a2437525e4ec00eb..4e1fb26c267496cbc4f3e4934fb017a589175b86 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -2548,18 +2548,6 @@ class FunctionLiteral FINAL : public Expression {
}
FunctionKind kind() { return FunctionKindBits::decode(bitfield_); }
- bool is_arrow() {
- return IsArrowFunction(FunctionKindBits::decode(bitfield_));
- }
- bool is_generator() {
- return IsGeneratorFunction(FunctionKindBits::decode(bitfield_));
- }
- bool is_concise_method() {
- return IsConciseMethod(FunctionKindBits::decode(bitfield_));
- }
- bool is_default_constructor() {
- return IsDefaultConstructor(FunctionKindBits::decode(bitfield_));
- }
int ast_node_count() { return ast_properties_.node_count(); }
AstProperties::Flags* flags() { return ast_properties_.flags(); }
@@ -2630,7 +2618,7 @@ class FunctionLiteral FINAL : public Expression {
class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {};
class IsFunction : public BitField<IsFunctionFlag, 4, 1> {};
class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {};
- class FunctionKindBits : public BitField<FunctionKind, 6, 5> {};
+ class FunctionKindBits : public BitField<FunctionKind, 6, 6> {};
};
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698