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

Side by Side Diff: src/hydrogen.h

Issue 18508002: Remove HFixedArrayBaseLength instruction and replace with regular HLoadNamedField. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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
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 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 HStoreNamedField* AddStore( 1118 HStoreNamedField* AddStore(
1119 HValue *object, 1119 HValue *object,
1120 HObjectAccess access, 1120 HObjectAccess access,
1121 HValue *val, 1121 HValue *val,
1122 Representation representation = Representation::Tagged()); 1122 Representation representation = Representation::Tagged());
1123 1123
1124 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); 1124 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>);
1125 1125
1126 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); 1126 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL);
1127 1127
1128 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1129
1128 class IfBuilder { 1130 class IfBuilder {
1129 public: 1131 public:
1130 explicit IfBuilder(HGraphBuilder* builder, 1132 explicit IfBuilder(HGraphBuilder* builder,
1131 int position = RelocInfo::kNoPosition); 1133 int position = RelocInfo::kNoPosition);
1132 IfBuilder(HGraphBuilder* builder, 1134 IfBuilder(HGraphBuilder* builder,
1133 HIfContinuation* continuation); 1135 HIfContinuation* continuation);
1134 1136
1135 ~IfBuilder() { 1137 ~IfBuilder() {
1136 if (!finished_) End(); 1138 if (!finished_) End();
1137 } 1139 }
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
2095 EmbeddedVector<char, 64> filename_; 2097 EmbeddedVector<char, 64> filename_;
2096 HeapStringAllocator string_allocator_; 2098 HeapStringAllocator string_allocator_;
2097 StringStream trace_; 2099 StringStream trace_;
2098 int indent_; 2100 int indent_;
2099 }; 2101 };
2100 2102
2101 2103
2102 } } // namespace v8::internal 2104 } } // namespace v8::internal
2103 2105
2104 #endif // V8_HYDROGEN_H_ 2106 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698