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

Side by Side Diff: src/hydrogen.h

Issue 14966005: Fix polymorphic to monomorphic load to take representation into account. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 protected: 975 protected:
976 virtual bool BuildGraph() = 0; 976 virtual bool BuildGraph() = 0;
977 977
978 HBasicBlock* CreateBasicBlock(HEnvironment* env); 978 HBasicBlock* CreateBasicBlock(HEnvironment* env);
979 HBasicBlock* CreateLoopHeaderBlock(); 979 HBasicBlock* CreateLoopHeaderBlock();
980 980
981 HValue* BuildCheckNonSmi(HValue* object); 981 HValue* BuildCheckNonSmi(HValue* object);
982 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); 982 HValue* BuildCheckMap(HValue* obj, Handle<Map> map);
983 983
984 // Building common constructs 984 // Building common constructs
985 HLoadNamedField* DoBuildLoadNamedField(HValue* object,
986 bool inobject,
987 Representation representation,
988 int offset);
989
985 HInstruction* BuildExternalArrayElementAccess( 990 HInstruction* BuildExternalArrayElementAccess(
986 HValue* external_elements, 991 HValue* external_elements,
987 HValue* checked_key, 992 HValue* checked_key,
988 HValue* val, 993 HValue* val,
989 HValue* dependency, 994 HValue* dependency,
990 ElementsKind elements_kind, 995 ElementsKind elements_kind,
991 bool is_store); 996 bool is_store);
992 997
993 HInstruction* BuildFastElementAccess( 998 HInstruction* BuildFastElementAccess(
994 HValue* elements, 999 HValue* elements,
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 EmbeddedVector<char, 64> filename_; 2010 EmbeddedVector<char, 64> filename_;
2006 HeapStringAllocator string_allocator_; 2011 HeapStringAllocator string_allocator_;
2007 StringStream trace_; 2012 StringStream trace_;
2008 int indent_; 2013 int indent_;
2009 }; 2014 };
2010 2015
2011 2016
2012 } } // namespace v8::internal 2017 } } // namespace v8::internal
2013 2018
2014 #endif // V8_HYDROGEN_H_ 2019 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698