Index: src/codegen.cc |
=================================================================== |
--- src/codegen.cc (revision 3744) |
+++ src/codegen.cc (working copy) |
@@ -452,11 +452,6 @@ |
} |
-const char* RuntimeStub::GetName() { |
- return Runtime::FunctionForId(id_)->stub_name; |
-} |
- |
- |
const char* GenericUnaryOpStub::GetName() { |
switch (op_) { |
case Token::SUB: |
@@ -474,14 +469,6 @@ |
} |
-void RuntimeStub::Generate(MacroAssembler* masm) { |
- Runtime::Function* f = Runtime::FunctionForId(id_); |
- masm->TailCallRuntime(ExternalReference(f), |
- num_arguments_, |
- f->result_size); |
-} |
- |
- |
void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
switch (type_) { |
case READ_LENGTH: GenerateReadLength(masm); break; |
@@ -507,4 +494,10 @@ |
} |
+void DebugerStatementStub::Generate(MacroAssembler* masm) { |
+ Runtime::Function* f = Runtime::FunctionForId(Runtime::kDebugBreak); |
+ masm->TailCallRuntime(ExternalReference(f), 0, f->result_size); |
+} |
+ |
+ |
} } // namespace v8::internal |