OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_AST_H_ | 5 #ifndef V8_AST_H_ |
6 #define V8_AST_H_ | 6 #define V8_AST_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/ast-value-factory.h" | 9 #include "src/ast-value-factory.h" |
10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
(...skipping 1894 matching lines...) Loading... |
1905 return IsUninitializedField::decode(bit_field_); | 1905 return IsUninitializedField::decode(bit_field_); |
1906 } | 1906 } |
1907 void set_is_uninitialized(bool b) { | 1907 void set_is_uninitialized(bool b) { |
1908 bit_field_ = IsUninitializedField::update(bit_field_, b); | 1908 bit_field_ = IsUninitializedField::update(bit_field_, b); |
1909 } | 1909 } |
1910 | 1910 |
1911 enum CallType { | 1911 enum CallType { |
1912 POSSIBLY_EVAL_CALL, | 1912 POSSIBLY_EVAL_CALL, |
1913 GLOBAL_CALL, | 1913 GLOBAL_CALL, |
1914 LOOKUP_SLOT_CALL, | 1914 LOOKUP_SLOT_CALL, |
1915 PROPERTY_CALL, | 1915 NAMED_PROPERTY_CALL, |
| 1916 KEYED_PROPERTY_CALL, |
| 1917 NAMED_SUPER_PROPERTY_CALL, |
| 1918 KEYED_SUPER_PROPERTY_CALL, |
1916 SUPER_CALL, | 1919 SUPER_CALL, |
1917 OTHER_CALL | 1920 OTHER_CALL |
1918 }; | 1921 }; |
1919 | 1922 |
1920 // Helpers to determine how to handle the call. | 1923 // Helpers to determine how to handle the call. |
1921 CallType GetCallType(Isolate* isolate) const; | 1924 CallType GetCallType(Isolate* isolate) const; |
1922 bool IsUsingCallFeedbackSlot(Isolate* isolate) const; | 1925 bool IsUsingCallFeedbackSlot(Isolate* isolate) const; |
1923 bool IsUsingCallFeedbackICSlot(Isolate* isolate) const; | 1926 bool IsUsingCallFeedbackICSlot(Isolate* isolate) const; |
1924 | 1927 |
1925 #ifdef DEBUG | 1928 #ifdef DEBUG |
(...skipping 1741 matching lines...) Loading... |
3667 // the parser-level zone. | 3670 // the parser-level zone. |
3668 Zone* parser_zone_; | 3671 Zone* parser_zone_; |
3669 AstValueFactory* ast_value_factory_; | 3672 AstValueFactory* ast_value_factory_; |
3670 }; | 3673 }; |
3671 | 3674 |
3672 | 3675 |
3673 } // namespace internal | 3676 } // namespace internal |
3674 } // namespace v8 | 3677 } // namespace v8 |
3675 | 3678 |
3676 #endif // V8_AST_H_ | 3679 #endif // V8_AST_H_ |
OLD | NEW |