Chromium Code Reviews

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 104663004: Preview of a first step towards unification of hydrogen calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed code review comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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 315 matching lines...)
326 InvokeCode(Operand(code), expected, actual, flag, call_wrapper, call_kind); 326 InvokeCode(Operand(code), expected, actual, flag, call_wrapper, call_kind);
327 } 327 }
328 328
329 void InvokeCode(const Operand& code, 329 void InvokeCode(const Operand& code,
330 const ParameterCount& expected, 330 const ParameterCount& expected,
331 const ParameterCount& actual, 331 const ParameterCount& actual,
332 InvokeFlag flag, 332 InvokeFlag flag,
333 const CallWrapper& call_wrapper, 333 const CallWrapper& call_wrapper,
334 CallKind call_kind); 334 CallKind call_kind);
335 335
336 void InvokeCode(Handle<Code> code,
337 const ParameterCount& expected,
338 const ParameterCount& actual,
339 RelocInfo::Mode rmode,
340 InvokeFlag flag,
341 const CallWrapper& call_wrapper,
342 CallKind call_kind);
343
344 // Invoke the JavaScript function in the given register. Changes the 336 // Invoke the JavaScript function in the given register. Changes the
345 // current context to the context in the function before invoking. 337 // current context to the context in the function before invoking.
346 void InvokeFunction(Register function, 338 void InvokeFunction(Register function,
347 const ParameterCount& actual, 339 const ParameterCount& actual,
348 InvokeFlag flag, 340 InvokeFlag flag,
349 const CallWrapper& call_wrapper, 341 const CallWrapper& call_wrapper,
350 CallKind call_kind); 342 CallKind call_kind);
351 343
352 void InvokeFunction(Register function, 344 void InvokeFunction(Register function,
353 const ParameterCount& expected, 345 const ParameterCount& expected,
(...skipping 779 matching lines...)
1133 } \ 1125 } \
1134 masm-> 1126 masm->
1135 #else 1127 #else
1136 #define ACCESS_MASM(masm) masm-> 1128 #define ACCESS_MASM(masm) masm->
1137 #endif 1129 #endif
1138 1130
1139 1131
1140 } } // namespace v8::internal 1132 } } // namespace v8::internal
1141 1133
1142 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine