Index: src/ia32/macro-assembler-ia32.h |
=================================================================== |
--- src/ia32/macro-assembler-ia32.h (revision 7757) |
+++ src/ia32/macro-assembler-ia32.h (working copy) |
@@ -49,9 +49,6 @@ |
// distinguish memory operands from other operands on ia32. |
typedef Operand MemOperand; |
-// Forward declaration. |
-class PostCallGenerator; |
- |
// MacroAssembler implements a collection of frequently used macros. |
class MacroAssembler: public Assembler { |
public: |
@@ -160,32 +157,32 @@ |
const ParameterCount& expected, |
const ParameterCount& actual, |
InvokeFlag flag, |
- PostCallGenerator* post_call_generator = NULL); |
+ CallWrapper* call_wrapper = NULL); |
void InvokeCode(Handle<Code> code, |
const ParameterCount& expected, |
const ParameterCount& actual, |
RelocInfo::Mode rmode, |
InvokeFlag flag, |
- PostCallGenerator* post_call_generator = NULL); |
+ CallWrapper* call_wrapper = NULL); |
// Invoke the JavaScript function in the given register. Changes the |
// current context to the context in the function before invoking. |
void InvokeFunction(Register function, |
const ParameterCount& actual, |
InvokeFlag flag, |
- PostCallGenerator* post_call_generator = NULL); |
+ CallWrapper* call_wrapper = NULL); |
void InvokeFunction(JSFunction* function, |
const ParameterCount& actual, |
InvokeFlag flag, |
- PostCallGenerator* post_call_generator = NULL); |
+ CallWrapper* call_wrapper = NULL); |
// Invoke specified builtin JavaScript function. Adds an entry to |
// the unresolved list if the name does not resolve. |
void InvokeBuiltin(Builtins::JavaScript id, |
InvokeFlag flag, |
- PostCallGenerator* post_call_generator = NULL); |
+ CallWrapper* call_wrapper = NULL); |
// Store the function for the given builtin in the target register. |
void GetBuiltinFunction(Register target, Builtins::JavaScript id); |
@@ -652,7 +649,7 @@ |
const Operand& code_operand, |
NearLabel* done, |
InvokeFlag flag, |
- PostCallGenerator* post_call_generator = NULL); |
+ CallWrapper* call_wrapper = NULL); |
// Activation support. |
void EnterFrame(StackFrame::Type type); |
@@ -734,17 +731,6 @@ |
}; |
-// Helper class for generating code or data associated with the code |
-// right after a call instruction. As an example this can be used to |
-// generate safepoint data after calls for crankshaft. |
-class PostCallGenerator { |
- public: |
- PostCallGenerator() { } |
- virtual ~PostCallGenerator() { } |
- virtual void Generate() = 0; |
-}; |
- |
- |
// ----------------------------------------------------------------------------- |
// Static helper functions. |