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

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

Issue 8330021: Add write barrier helper for code patching and refactor stack check patching. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.h » ('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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 LInstruction* instr) { 199 LInstruction* instr) {
200 const Runtime::Function* function = Runtime::FunctionForId(id); 200 const Runtime::Function* function = Runtime::FunctionForId(id);
201 CallRuntime(function, num_arguments, instr); 201 CallRuntime(function, num_arguments, instr);
202 } 202 }
203 203
204 void CallRuntimeFromDeferred(Runtime::FunctionId id, 204 void CallRuntimeFromDeferred(Runtime::FunctionId id,
205 int argc, 205 int argc,
206 LInstruction* instr); 206 LInstruction* instr);
207 207
208 // Generate a direct call to a known function. Expects the function 208 // Generate a direct call to a known function. Expects the function
209 // to be in edi. 209 // to be in r1.
210 void CallKnownFunction(Handle<JSFunction> function, 210 void CallKnownFunction(Handle<JSFunction> function,
211 int arity, 211 int arity,
212 LInstruction* instr, 212 LInstruction* instr,
213 CallKind call_kind); 213 CallKind call_kind);
214 214
215 void LoadHeapObject(Register result, Handle<HeapObject> object); 215 void LoadHeapObject(Register result, Handle<HeapObject> object);
216 216
217 void RegisterLazyDeoptimization(LInstruction* instr, 217 void RegisterLazyDeoptimization(LInstruction* instr,
218 SafepointMode safepoint_mode); 218 SafepointMode safepoint_mode);
219 219
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 LCodeGen* codegen_; 401 LCodeGen* codegen_;
402 Label entry_; 402 Label entry_;
403 Label exit_; 403 Label exit_;
404 Label* external_exit_; 404 Label* external_exit_;
405 int instruction_index_; 405 int instruction_index_;
406 }; 406 };
407 407
408 } } // namespace v8::internal 408 } } // namespace v8::internal
409 409
410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698