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

Side by Side Diff: src/compiler.h

Issue 582703002: Widen the intake valve for TurboFan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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/compiler.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_H_ 5 #ifndef V8_COMPILER_H_
6 #define V8_COMPILER_H_ 6 #define V8_COMPILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void PrepareForSerializing() { SetFlag(kSerializing); } 190 void PrepareForSerializing() { SetFlag(kSerializing); }
191 191
192 bool will_serialize() const { return GetFlag(kSerializing); } 192 bool will_serialize() const { return GetFlag(kSerializing); }
193 193
194 void MarkAsContextSpecializing() { SetFlag(kContextSpecializing); } 194 void MarkAsContextSpecializing() { SetFlag(kContextSpecializing); }
195 195
196 bool is_context_specializing() const { return GetFlag(kContextSpecializing); } 196 bool is_context_specializing() const { return GetFlag(kContextSpecializing); }
197 197
198 void MarkAsInliningEnabled() { SetFlag(kInliningEnabled); } 198 void MarkAsInliningEnabled() { SetFlag(kInliningEnabled); }
199 199
200 void MarkAsInliningDisabled() { SetFlag(kInliningEnabled, false); }
201
200 bool is_inlining_enabled() const { return GetFlag(kInliningEnabled); } 202 bool is_inlining_enabled() const { return GetFlag(kInliningEnabled); }
201 203
202 void MarkAsTypingEnabled() { SetFlag(kTypingEnabled); } 204 void MarkAsTypingEnabled() { SetFlag(kTypingEnabled); }
203 205
204 bool is_typing_enabled() const { return GetFlag(kTypingEnabled); } 206 bool is_typing_enabled() const { return GetFlag(kTypingEnabled); }
205 207
206 bool IsCodePreAgingActive() const { 208 bool IsCodePreAgingActive() const {
207 return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() && 209 return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() &&
208 !is_debug(); 210 !is_debug();
209 } 211 }
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 Zone zone_; 737 Zone zone_;
736 unsigned info_zone_start_allocation_size_; 738 unsigned info_zone_start_allocation_size_;
737 base::ElapsedTimer timer_; 739 base::ElapsedTimer timer_;
738 740
739 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 741 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
740 }; 742 };
741 743
742 } } // namespace v8::internal 744 } } // namespace v8::internal
743 745
744 #endif // V8_COMPILER_H_ 746 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698