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 5976006: Fix a couple cast errors
Patch Set: Created 10 years 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/ast.h ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 static void RevertStackCheckCode(RelocInfo* rinfo, Code* check_code); 138 static void RevertStackCheckCode(RelocInfo* rinfo, Code* check_code);
139 139
140 ~Deoptimizer(); 140 ~Deoptimizer();
141 141
142 void InsertHeapNumberValues(int index, JavaScriptFrame* frame); 142 void InsertHeapNumberValues(int index, JavaScriptFrame* frame);
143 143
144 static void ComputeOutputFrames(Deoptimizer* deoptimizer); 144 static void ComputeOutputFrames(Deoptimizer* deoptimizer);
145 145
146 static Address GetDeoptimizationEntry(int id, BailoutType type); 146 static Address GetDeoptimizationEntry(int id, BailoutType type);
147 static int GetDeoptimizationId(Address addr, BailoutType type); 147 static int GetDeoptimizationId(Address addr, BailoutType type);
148 static unsigned GetOutputInfo(DeoptimizationOutputData* data, 148 static int GetOutputInfo(DeoptimizationOutputData* data,
149 unsigned node_id, 149 unsigned node_id,
150 SharedFunctionInfo* shared); 150 SharedFunctionInfo* shared);
151 151
152 static void Setup(); 152 static void Setup();
153 static void TearDown(); 153 static void TearDown();
154 154
155 // Code generation support. 155 // Code generation support.
156 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); } 156 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); }
157 static int output_count_offset() { 157 static int output_count_offset() {
158 return OFFSET_OF(Deoptimizer, output_count_); 158 return OFFSET_OF(Deoptimizer, output_count_);
159 } 159 }
160 static int output_offset() { return OFFSET_OF(Deoptimizer, output_); } 160 static int output_offset() { return OFFSET_OF(Deoptimizer, output_); }
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 Handle<Code> code_; 502 Handle<Code> code_;
503 503
504 // Next pointer for linked list. 504 // Next pointer for linked list.
505 DeoptimizingCodeListNode* next_; 505 DeoptimizingCodeListNode* next_;
506 }; 506 };
507 507
508 508
509 } } // namespace v8::internal 509 } } // namespace v8::internal
510 510
511 #endif // V8_DEOPTIMIZER_H_ 511 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698