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

Side by Side Diff: src/deoptimizer.h

Issue 192513002: Checking for stack height equality between full codegen and hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 7 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 | « build/features.gypi ('k') | src/deoptimizer.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_DEOPTIMIZER_H_ 5 #ifndef V8_DEOPTIMIZER_H_
6 #define V8_DEOPTIMIZER_H_ 6 #define V8_DEOPTIMIZER_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 #include "allocation.h" 10 #include "allocation.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 206
207 static Address GetDeoptimizationEntry( 207 static Address GetDeoptimizationEntry(
208 Isolate* isolate, 208 Isolate* isolate,
209 int id, 209 int id,
210 BailoutType type, 210 BailoutType type,
211 GetEntryMode mode = ENSURE_ENTRY_CODE); 211 GetEntryMode mode = ENSURE_ENTRY_CODE);
212 static int GetDeoptimizationId(Isolate* isolate, 212 static int GetDeoptimizationId(Isolate* isolate,
213 Address addr, 213 Address addr,
214 BailoutType type); 214 BailoutType type);
215 static int GetOutputInfoIndex(DeoptimizationOutputData* data,
216 BailoutId node_id,
217 SharedFunctionInfo* shared);
215 static int GetOutputInfo(DeoptimizationOutputData* data, 218 static int GetOutputInfo(DeoptimizationOutputData* data,
216 BailoutId node_id, 219 BailoutId node_id,
217 SharedFunctionInfo* shared); 220 SharedFunctionInfo* shared);
221 #if defined(COMPARE_OPT_STACK_HEIGHT)
222 static int GetOutputInfoStackHeight(
223 DeoptimizationOutputData* data,
224 BailoutId node_id,
225 SharedFunctionInfo* shared);
226 #endif
218 227
219 // Code generation support. 228 // Code generation support.
220 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); } 229 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); }
221 static int output_count_offset() { 230 static int output_count_offset() {
222 return OFFSET_OF(Deoptimizer, output_count_); 231 return OFFSET_OF(Deoptimizer, output_count_);
223 } 232 }
224 static int output_offset() { return OFFSET_OF(Deoptimizer, output_); } 233 static int output_offset() { return OFFSET_OF(Deoptimizer, output_); }
225 234
226 static int has_alignment_padding_offset() { 235 static int has_alignment_padding_offset() {
227 return OFFSET_OF(Deoptimizer, has_alignment_padding_); 236 return OFFSET_OF(Deoptimizer, has_alignment_padding_);
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 Object** parameters_; 971 Object** parameters_;
963 Object** expression_stack_; 972 Object** expression_stack_;
964 int source_position_; 973 int source_position_;
965 974
966 friend class Deoptimizer; 975 friend class Deoptimizer;
967 }; 976 };
968 977
969 } } // namespace v8::internal 978 } } // namespace v8::internal
970 979
971 #endif // V8_DEOPTIMIZER_H_ 980 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « build/features.gypi ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698