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

Side by Side Diff: src/hydrogen.h

Issue 10572033: Merged r11712 into 3.10 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.10
Patch Set: Created 8 years, 6 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') | 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 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 // with a given hash. Colliding elements are stored in linked lists. 1232 // with a given hash. Colliding elements are stored in linked lists.
1233 HValueMapListElement* lists_; // The linked lists containing hash collisions. 1233 HValueMapListElement* lists_; // The linked lists containing hash collisions.
1234 int free_list_head_; // Unused elements in lists_ are on the free list. 1234 int free_list_head_; // Unused elements in lists_ are on the free list.
1235 }; 1235 };
1236 1236
1237 1237
1238 class HSideEffectMap BASE_EMBEDDED { 1238 class HSideEffectMap BASE_EMBEDDED {
1239 public: 1239 public:
1240 HSideEffectMap(); 1240 HSideEffectMap();
1241 explicit HSideEffectMap(HSideEffectMap* other); 1241 explicit HSideEffectMap(HSideEffectMap* other);
1242 HSideEffectMap& operator= (const HSideEffectMap& other);
1242 1243
1243 void Kill(GVNFlagSet flags); 1244 void Kill(GVNFlagSet flags);
1244 1245
1245 void Store(GVNFlagSet flags, HInstruction* instr); 1246 void Store(GVNFlagSet flags, HInstruction* instr);
1246 1247
1247 bool IsEmpty() const { return count_ == 0; } 1248 bool IsEmpty() const { return count_ == 0; }
1248 1249
1249 inline HInstruction* operator[](int i) const { 1250 inline HInstruction* operator[](int i) const {
1250 ASSERT(0 <= i); 1251 ASSERT(0 <= i);
1251 ASSERT(i < kNumberOfTrackedSideEffects); 1252 ASSERT(i < kNumberOfTrackedSideEffects);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 const char* filename_; 1411 const char* filename_;
1411 HeapStringAllocator string_allocator_; 1412 HeapStringAllocator string_allocator_;
1412 StringStream trace_; 1413 StringStream trace_;
1413 int indent_; 1414 int indent_;
1414 }; 1415 };
1415 1416
1416 1417
1417 } } // namespace v8::internal 1418 } } // namespace v8::internal
1418 1419
1419 #endif // V8_HYDROGEN_H_ 1420 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698