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

Side by Side Diff: src/lithium-codegen.h

Issue 596783002: Refactor bailout reasons and disable optimization in more cases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove bogus assertion Created 6 years, 2 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 | « src/lithium.cc ('k') | src/lithium-codegen.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_LITHIUM_CODEGEN_H_ 5 #ifndef V8_LITHIUM_CODEGEN_H_
6 #define V8_LITHIUM_CODEGEN_H_ 6 #define V8_LITHIUM_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/bailout-reason.h"
10 #include "src/compiler.h" 11 #include "src/compiler.h"
11 #include "src/deoptimizer.h" 12 #include "src/deoptimizer.h"
12 13
13 namespace v8 { 14 namespace v8 {
14 namespace internal { 15 namespace internal {
15 16
16 class LInstruction; 17 class LInstruction;
17 class LPlatformChunk; 18 class LPlatformChunk;
18 19
19 class LCodeGenBase BASE_EMBEDDED { 20 class LCodeGenBase BASE_EMBEDDED {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 int current_instruction_; 70 int current_instruction_;
70 const ZoneList<LInstruction*>* instructions_; 71 const ZoneList<LInstruction*>* instructions_;
71 int last_lazy_deopt_pc_; 72 int last_lazy_deopt_pc_;
72 73
73 bool is_unused() const { return status_ == UNUSED; } 74 bool is_unused() const { return status_ == UNUSED; }
74 bool is_generating() const { return status_ == GENERATING; } 75 bool is_generating() const { return status_ == GENERATING; }
75 bool is_done() const { return status_ == DONE; } 76 bool is_done() const { return status_ == DONE; }
76 bool is_aborted() const { return status_ == ABORTED; } 77 bool is_aborted() const { return status_ == ABORTED; }
77 78
78 void Abort(BailoutReason reason); 79 void Abort(BailoutReason reason);
80 void Retry(BailoutReason reason);
79 81
80 // Methods for code dependencies. 82 // Methods for code dependencies.
81 void AddDeprecationDependency(Handle<Map> map); 83 void AddDeprecationDependency(Handle<Map> map);
82 void AddStabilityDependency(Handle<Map> map); 84 void AddStabilityDependency(Handle<Map> map);
83 }; 85 };
84 86
85 87
86 } } // namespace v8::internal 88 } } // namespace v8::internal
87 89
88 #endif // V8_LITHIUM_CODEGEN_H_ 90 #endif // V8_LITHIUM_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | src/lithium-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698