OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 void HandleCompoundAssignment(Assignment* expr); | 905 void HandleCompoundAssignment(Assignment* expr); |
906 void HandlePolymorphicStoreNamedField(Assignment* expr, | 906 void HandlePolymorphicStoreNamedField(Assignment* expr, |
907 HValue* object, | 907 HValue* object, |
908 HValue* value, | 908 HValue* value, |
909 SmallMapList* types, | 909 SmallMapList* types, |
910 Handle<String> name); | 910 Handle<String> name); |
911 void HandlePolymorphicCallNamed(Call* expr, | 911 void HandlePolymorphicCallNamed(Call* expr, |
912 HValue* receiver, | 912 HValue* receiver, |
913 SmallMapList* types, | 913 SmallMapList* types, |
914 Handle<String> name); | 914 Handle<String> name); |
| 915 bool TryLiteralCompare(CompareOperation* expr); |
915 void HandleLiteralCompareTypeof(CompareOperation* expr, | 916 void HandleLiteralCompareTypeof(CompareOperation* expr, |
916 HTypeof* typeof_expr, | 917 Expression* sub_expr, |
917 Handle<String> check); | 918 Handle<String> check); |
918 void HandleLiteralCompareNil(CompareOperation* expr, | 919 void HandleLiteralCompareNil(CompareOperation* expr, |
919 HValue* value, | 920 Expression* sub_expr, |
920 NilValue nil); | 921 NilValue nil); |
921 | 922 |
922 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, | 923 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, |
923 HValue* string, | 924 HValue* string, |
924 HValue* index); | 925 HValue* index); |
925 HInstruction* BuildBinaryOperation(BinaryOperation* expr, | 926 HInstruction* BuildBinaryOperation(BinaryOperation* expr, |
926 HValue* left, | 927 HValue* left, |
927 HValue* right); | 928 HValue* right); |
928 HInstruction* BuildIncrement(bool returns_original_input, | 929 HInstruction* BuildIncrement(bool returns_original_input, |
929 CountOperation* expr); | 930 CountOperation* expr); |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 const char* filename_; | 1241 const char* filename_; |
1241 HeapStringAllocator string_allocator_; | 1242 HeapStringAllocator string_allocator_; |
1242 StringStream trace_; | 1243 StringStream trace_; |
1243 int indent_; | 1244 int indent_; |
1244 }; | 1245 }; |
1245 | 1246 |
1246 | 1247 |
1247 } } // namespace v8::internal | 1248 } } // namespace v8::internal |
1248 | 1249 |
1249 #endif // V8_HYDROGEN_H_ | 1250 #endif // V8_HYDROGEN_H_ |
OLD | NEW |