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

Side by Side Diff: src/hydrogen.h

Issue 6688066: Clean up Isolate usages in ast visitor and hydrogen. (Closed)
Patch Set: Created 9 years, 9 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
« no previous file with comments | « src/full-codegen.h ('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 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 void InsertRepresentationChangeForUse(HValue* value, 274 void InsertRepresentationChangeForUse(HValue* value,
275 HValue* use, 275 HValue* use,
276 Representation to); 276 Representation to);
277 void InsertRepresentationChangesForValue(HValue* current, 277 void InsertRepresentationChangesForValue(HValue* current,
278 ZoneList<HValue*>* value_list, 278 ZoneList<HValue*>* value_list,
279 ZoneList<Representation>* rep_list); 279 ZoneList<Representation>* rep_list);
280 void InferTypes(ZoneList<HValue*>* worklist); 280 void InferTypes(ZoneList<HValue*>* worklist);
281 void InitializeInferredTypes(int from_inclusive, int to_inclusive); 281 void InitializeInferredTypes(int from_inclusive, int to_inclusive);
282 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); 282 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor);
283 283
284 Isolate* isolate() { return isolate_; }
285
286 Isolate* isolate_;
284 int next_block_id_; 287 int next_block_id_;
285 HBasicBlock* entry_block_; 288 HBasicBlock* entry_block_;
286 HEnvironment* start_environment_; 289 HEnvironment* start_environment_;
287 ZoneList<HBasicBlock*> blocks_; 290 ZoneList<HBasicBlock*> blocks_;
288 ZoneList<HValue*> values_; 291 ZoneList<HValue*> values_;
289 ZoneList<HPhi*>* phi_list_; 292 ZoneList<HPhi*>* phi_list_;
290 SetOncePointer<HConstant> undefined_constant_; 293 SetOncePointer<HConstant> undefined_constant_;
291 SetOncePointer<HConstant> constant_1_; 294 SetOncePointer<HConstant> constant_1_;
292 SetOncePointer<HConstant> constant_minus1_; 295 SetOncePointer<HConstant> constant_minus1_;
293 SetOncePointer<HConstant> constant_true_; 296 SetOncePointer<HConstant> constant_true_;
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 const char* filename_; 1102 const char* filename_;
1100 HeapStringAllocator string_allocator_; 1103 HeapStringAllocator string_allocator_;
1101 StringStream trace_; 1104 StringStream trace_;
1102 int indent_; 1105 int indent_;
1103 }; 1106 };
1104 1107
1105 1108
1106 } } // namespace v8::internal 1109 } } // namespace v8::internal
1107 1110
1108 #endif // V8_HYDROGEN_H_ 1111 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698