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

Side by Side Diff: src/hydrogen.h

Issue 10802038: Add dependency to HLoadKeyed* instructions to prevent invalid hoisting (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix nits Created 8 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
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | test/mjsunit/regress/regress-137768.js » ('J')
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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 Handle<Map> type, 1093 Handle<Map> type,
1094 LookupResult* result, 1094 LookupResult* result,
1095 bool smi_and_map_check); 1095 bool smi_and_map_check);
1096 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); 1096 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr);
1097 HInstruction* BuildLoadKeyedGeneric(HValue* object, 1097 HInstruction* BuildLoadKeyedGeneric(HValue* object,
1098 HValue* key); 1098 HValue* key);
1099 HInstruction* BuildExternalArrayElementAccess( 1099 HInstruction* BuildExternalArrayElementAccess(
1100 HValue* external_elements, 1100 HValue* external_elements,
1101 HValue* checked_key, 1101 HValue* checked_key,
1102 HValue* val, 1102 HValue* val,
1103 HValue* dependency,
1103 ElementsKind elements_kind, 1104 ElementsKind elements_kind,
1104 bool is_store); 1105 bool is_store);
1105 HInstruction* BuildFastElementAccess(HValue* elements, 1106 HInstruction* BuildFastElementAccess(HValue* elements,
1106 HValue* checked_key, 1107 HValue* checked_key,
1107 HValue* val, 1108 HValue* val,
1109 HValue* dependency,
1108 ElementsKind elements_kind, 1110 ElementsKind elements_kind,
1109 bool is_store); 1111 bool is_store);
1110 1112
1111 HInstruction* TryBuildConsolidatedElementLoad(HValue* object, 1113 HInstruction* TryBuildConsolidatedElementLoad(HValue* object,
1112 HValue* key, 1114 HValue* key,
1113 HValue* val, 1115 HValue* val,
1114 SmallMapList* maps); 1116 SmallMapList* maps);
1115 1117
1116 HInstruction* BuildUncheckedMonomorphicElementAccess(HValue* object, 1118 HInstruction* BuildUncheckedMonomorphicElementAccess(HValue* object,
1117 HValue* key, 1119 HValue* key,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 const char* filename_; 1458 const char* filename_;
1457 HeapStringAllocator string_allocator_; 1459 HeapStringAllocator string_allocator_;
1458 StringStream trace_; 1460 StringStream trace_;
1459 int indent_; 1461 int indent_;
1460 }; 1462 };
1461 1463
1462 1464
1463 } } // namespace v8::internal 1465 } } // namespace v8::internal
1464 1466
1465 #endif // V8_HYDROGEN_H_ 1467 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | test/mjsunit/regress/regress-137768.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698