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

Side by Side Diff: src/hydrogen.h

Issue 6304001: Support StringCharCodeAt in hydrogen/lithium. (Closed)
Patch Set: Created 9 years, 11 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 unified diff | Download patch
OLDNEW
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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 FunctionLiteral* function); 738 FunctionLiteral* function);
739 739
740 // Helpers for flow graph construction. 740 // Helpers for flow graph construction.
741 void LookupGlobalPropertyCell(Variable* var, 741 void LookupGlobalPropertyCell(Variable* var,
742 LookupResult* lookup, 742 LookupResult* lookup,
743 bool is_store); 743 bool is_store);
744 744
745 bool TryArgumentsAccess(Property* expr); 745 bool TryArgumentsAccess(Property* expr);
746 bool TryCallApply(Call* expr); 746 bool TryCallApply(Call* expr);
747 bool TryInline(Call* expr); 747 bool TryInline(Call* expr);
748 bool TryMathFunctionInline(Call* expr); 748 bool TryInlineBuiltinFunction(Call* expr,
749 HValue* receiver,
750 Handle<Map> receiver_map,
751 CheckType check_type);
749 void TraceInline(Handle<JSFunction> target, bool result); 752 void TraceInline(Handle<JSFunction> target, bool result);
750 753
751 void HandleGlobalVariableAssignment(Variable* var, 754 void HandleGlobalVariableAssignment(Variable* var,
752 HValue* value, 755 HValue* value,
753 int position, 756 int position,
754 int ast_id); 757 int ast_id);
755 758
756 void HandlePropertyAssignment(Assignment* expr); 759 void HandlePropertyAssignment(Assignment* expr);
757 void HandleCompoundAssignment(Assignment* expr); 760 void HandleCompoundAssignment(Assignment* expr);
758 void HandlePolymorphicLoadNamedField(Property* expr, 761 void HandlePolymorphicLoadNamedField(Property* expr,
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 const char* filename_; 1060 const char* filename_;
1058 HeapStringAllocator string_allocator_; 1061 HeapStringAllocator string_allocator_;
1059 StringStream trace_; 1062 StringStream trace_;
1060 int indent_; 1063 int indent_;
1061 }; 1064 };
1062 1065
1063 1066
1064 } } // namespace v8::internal 1067 } } // namespace v8::internal
1065 1068
1066 #endif // V8_HYDROGEN_H_ 1069 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698