Index: src/full-codegen.h |
=================================================================== |
--- src/full-codegen.h (revision 6011) |
+++ src/full-codegen.h (working copy) |
@@ -38,6 +38,9 @@ |
namespace v8 { |
namespace internal { |
+// Forward declarations. |
+class JumpPatchSite; |
+ |
// AST node visitor which can tell whether a given statement will be breakable |
// when the code is compiled by the full compiler in the debugger. This means |
// that there will be an IC (load/store/call) in the code generated for the |
@@ -533,6 +536,10 @@ |
// Helper for calling an IC stub. |
void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); |
+ // Calling an IC stub with a patch site. Passing NULL for patch_site |
+ // indicates no inlined smi code and emits a nop after the IC call. |
+ void EmitCallIC(Handle<Code> ic, JumpPatchSite* patch_site); |
+ |
// Set fields in the stack frame. Offsets are the frame pointer relative |
// offsets defined in, e.g., StandardFrameConstants. |
void StoreToFrameField(int frame_offset, Register value); |