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

Side by Side Diff: src/deoptimizer.h

Issue 6778018: Only pass isolate parameter to C helper functions that need it. (Closed)
Patch Set: Created 9 years, 8 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
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('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 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Change all patched stack guard checks in the unoptimized code 185 // Change all patched stack guard checks in the unoptimized code
186 // back to a normal stack guard check. 186 // back to a normal stack guard check.
187 static void RevertStackCheckCodeAt(Address pc_after, 187 static void RevertStackCheckCodeAt(Address pc_after,
188 Code* check_code, 188 Code* check_code,
189 Code* replacement_code); 189 Code* replacement_code);
190 190
191 ~Deoptimizer(); 191 ~Deoptimizer();
192 192
193 void InsertHeapNumberValues(int index, JavaScriptFrame* frame); 193 void InsertHeapNumberValues(int index, JavaScriptFrame* frame);
194 194
195 static void ComputeOutputFrames(Deoptimizer* deoptimizer, Isolate* isolate); 195 static void ComputeOutputFrames(Deoptimizer* deoptimizer);
196 196
197 static Address GetDeoptimizationEntry(int id, BailoutType type); 197 static Address GetDeoptimizationEntry(int id, BailoutType type);
198 static int GetDeoptimizationId(Address addr, BailoutType type); 198 static int GetDeoptimizationId(Address addr, BailoutType type);
199 static int GetOutputInfo(DeoptimizationOutputData* data, 199 static int GetOutputInfo(DeoptimizationOutputData* data,
200 unsigned node_id, 200 unsigned node_id,
201 SharedFunctionInfo* shared); 201 SharedFunctionInfo* shared);
202 202
203 // Code generation support. 203 // Code generation support.
204 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); } 204 static int input_offset() { return OFFSET_OF(Deoptimizer, input_); }
205 static int output_count_offset() { 205 static int output_count_offset() {
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 Handle<Code> code_; 548 Handle<Code> code_;
549 549
550 // Next pointer for linked list. 550 // Next pointer for linked list.
551 DeoptimizingCodeListNode* next_; 551 DeoptimizingCodeListNode* next_;
552 }; 552 };
553 553
554 554
555 } } // namespace v8::internal 555 } } // namespace v8::internal
556 556
557 #endif // V8_DEOPTIMIZER_H_ 557 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698