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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/ia32/ic-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 EDI_UNINITIALIZED, 250 EDI_UNINITIALIZED,
251 EDI_CONTAINS_TARGET 251 EDI_CONTAINS_TARGET
252 }; 252 };
253 253
254 // Generate a direct call to a known function. Expects the function 254 // Generate a direct call to a known function. Expects the function
255 // to be in edi. 255 // to be in edi.
256 void CallKnownFunction(Handle<JSFunction> function, 256 void CallKnownFunction(Handle<JSFunction> function,
257 int formal_parameter_count, 257 int formal_parameter_count,
258 int arity, 258 int arity,
259 LInstruction* instr, 259 LInstruction* instr,
260 CallKind call_kind,
261 EDIState edi_state); 260 EDIState edi_state);
262 261
263 void RecordSafepointWithLazyDeopt(LInstruction* instr, 262 void RecordSafepointWithLazyDeopt(LInstruction* instr,
264 SafepointMode safepoint_mode); 263 SafepointMode safepoint_mode);
265 264
266 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 265 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
267 Safepoint::DeoptMode mode); 266 Safepoint::DeoptMode mode);
268 void DeoptimizeIf(Condition cc, 267 void DeoptimizeIf(Condition cc,
269 LEnvironment* environment, 268 LEnvironment* environment,
270 Deoptimizer::BailoutType bailout_type); 269 Deoptimizer::BailoutType bailout_type);
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 Label exit_; 536 Label exit_;
538 Label* external_exit_; 537 Label* external_exit_;
539 Label done_; 538 Label done_;
540 int instruction_index_; 539 int instruction_index_;
541 LCodeGen::X87Stack x87_stack_; 540 LCodeGen::X87Stack x87_stack_;
542 }; 541 };
543 542
544 } } // namespace v8::internal 543 } } // namespace v8::internal
545 544
546 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 545 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698