| Index: src/ia32/lithium-codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/lithium-codegen-ia32.cc (revision 7757)
|
| +++ src/ia32/lithium-codegen-ia32.cc (working copy)
|
| @@ -40,7 +40,7 @@
|
|
|
| // When invoking builtins, we need to record the safepoint in the middle of
|
| // the invoke instruction sequence generated by the macro assembler.
|
| -class SafepointGenerator : public PostCallGenerator {
|
| +class SafepointGenerator : public CallWrapper {
|
| public:
|
| SafepointGenerator(LCodeGen* codegen,
|
| LPointerMap* pointers,
|
| @@ -50,7 +50,9 @@
|
| deoptimization_index_(deoptimization_index) {}
|
| virtual ~SafepointGenerator() { }
|
|
|
| - virtual void Generate() {
|
| + virtual void BeforeCall(int call_size) {}
|
| +
|
| + virtual void AfterCall() {
|
| codegen_->RecordSafepoint(pointers_, deoptimization_index_);
|
| }
|
|
|
|
|