Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 78ff554fdb6d187b14ca4c3b5829b5ad2242f3d6..1bec7195c39251ee38003b1e72d7a47c38818d51 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2011 the V8 project authors. All rights reserved. |
+// Copyright 2012 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -55,6 +55,7 @@ namespace internal { |
V(ConvertToDouble) \ |
V(WriteInt32ToHeapNumber) \ |
V(StackCheck) \ |
+ V(Interrupt) \ |
V(FastNewClosure) \ |
V(FastNewContext) \ |
V(FastNewBlockContext) \ |
@@ -297,6 +298,18 @@ class StackCheckStub : public CodeStub { |
}; |
+class InterruptStub : public CodeStub { |
+ public: |
+ InterruptStub() { } |
+ |
+ void Generate(MacroAssembler* masm); |
+ |
+ private: |
+ Major MajorKey() { return Interrupt; } |
+ int MinorKey() { return 0; } |
+}; |
+ |
+ |
class ToNumberStub: public CodeStub { |
public: |
ToNumberStub() { } |