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/x64/lithium-codegen-x64.h

Issue 136403005: Remove CALL_AS_FUNCTION and CALL_AS_METHOD. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Don't store/restore ecx/rcx/r5 given that it doesn't contain callkind anymore Created 6 years, 11 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/x64/ic-x64.cc ('k') | src/x64/lithium-codegen-x64.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 // 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 RDI_UNINITIALIZED, 206 RDI_UNINITIALIZED,
207 RDI_CONTAINS_TARGET 207 RDI_CONTAINS_TARGET
208 }; 208 };
209 209
210 // Generate a direct call to a known function. Expects the function 210 // Generate a direct call to a known function. Expects the function
211 // to be in rdi. 211 // to be in rdi.
212 void CallKnownFunction(Handle<JSFunction> function, 212 void CallKnownFunction(Handle<JSFunction> function,
213 int formal_parameter_count, 213 int formal_parameter_count,
214 int arity, 214 int arity,
215 LInstruction* instr, 215 LInstruction* instr,
216 CallKind call_kind,
217 RDIState rdi_state); 216 RDIState rdi_state);
218 217
219 void RecordSafepointWithLazyDeopt(LInstruction* instr, 218 void RecordSafepointWithLazyDeopt(LInstruction* instr,
220 SafepointMode safepoint_mode, 219 SafepointMode safepoint_mode,
221 int argc); 220 int argc);
222 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 221 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
223 Safepoint::DeoptMode mode); 222 Safepoint::DeoptMode mode);
224 void DeoptimizeIf(Condition cc, 223 void DeoptimizeIf(Condition cc,
225 LEnvironment* environment, 224 LEnvironment* environment,
226 Deoptimizer::BailoutType bailout_type); 225 Deoptimizer::BailoutType bailout_type);
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 Label entry_; 411 Label entry_;
413 Label exit_; 412 Label exit_;
414 Label done_; 413 Label done_;
415 Label* external_exit_; 414 Label* external_exit_;
416 int instruction_index_; 415 int instruction_index_;
417 }; 416 };
418 417
419 } } // namespace v8::internal 418 } } // namespace v8::internal
420 419
421 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698