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

Side by Side Diff: src/hydrogen.h

Issue 6378012: Disable all code motion on the final optimization attempt. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 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 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 ZoneList<BreakContinueInfo*> break_continue_info_; 290 ZoneList<BreakContinueInfo*> break_continue_info_;
291 }; 291 };
292 292
293 293
294 class HGraph: public HSubgraph { 294 class HGraph: public HSubgraph {
295 public: 295 public:
296 explicit HGraph(CompilationInfo* info); 296 explicit HGraph(CompilationInfo* info);
297 297
298 CompilationInfo* info() const { return info_; } 298 CompilationInfo* info() const { return info_; }
299 299
300 bool AllowAggressiveOptimizations() const; 300 bool AllowCodeMotion() const;
301 301
302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } 302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; }
303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } 303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; }
304 Handle<String> debug_name() const { return info_->function()->debug_name(); } 304 Handle<String> debug_name() const { return info_->function()->debug_name(); }
305 HEnvironment* start_environment() const { return start_environment_; } 305 HEnvironment* start_environment() const { return start_environment_; }
306 306
307 void InitializeInferredTypes(); 307 void InitializeInferredTypes();
308 void InsertTypeConversions(); 308 void InsertTypeConversions();
309 void InsertRepresentationChanges(); 309 void InsertRepresentationChanges();
310 bool ProcessArgumentsObject(); 310 bool ProcessArgumentsObject();
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 const char* filename_; 1065 const char* filename_;
1066 HeapStringAllocator string_allocator_; 1066 HeapStringAllocator string_allocator_;
1067 StringStream trace_; 1067 StringStream trace_;
1068 int indent_; 1068 int indent_;
1069 }; 1069 };
1070 1070
1071 1071
1072 } } // namespace v8::internal 1072 } } // namespace v8::internal
1073 1073
1074 #endif // V8_HYDROGEN_H_ 1074 #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