| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index cd5ee34ea899dae740309901bb80043fb33ffdca..6023a36152b29801ff164cf504b2e5335cd0718a 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -3797,62 +3797,6 @@ void FullCodeGenerator::EmitToInteger(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK_EQ(args->length(), 1);
|
| -
|
| - // Load the argument into a0 and call the stub.
|
| - VisitForAccumulatorValue(args->at(0));
|
| - __ mov(a0, result_register());
|
| -
|
| - NumberToStringStub stub(isolate());
|
| - __ CallStub(&stub);
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| -void FullCodeGenerator::EmitToLength(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK_EQ(1, args->length());
|
| -
|
| - // Load the argument into a0 and convert it.
|
| - VisitForAccumulatorValue(args->at(0));
|
| - __ mov(a0, result_register());
|
| -
|
| - ToLengthStub stub(isolate());
|
| - __ CallStub(&stub);
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| -void FullCodeGenerator::EmitToString(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK_EQ(1, args->length());
|
| -
|
| - // Load the argument into a0 and convert it.
|
| - VisitForAccumulatorValue(args->at(0));
|
| - __ mov(a0, result_register());
|
| -
|
| - ToStringStub stub(isolate());
|
| - __ CallStub(&stub);
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| -void FullCodeGenerator::EmitToNumber(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK_EQ(1, args->length());
|
| -
|
| - // Load the argument into a0 and convert it.
|
| - VisitForAccumulatorValue(args->at(0));
|
| - __ mov(a0, result_register());
|
| -
|
| - ToNumberStub stub(isolate());
|
| - __ CallStub(&stub);
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitToName(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| DCHECK_EQ(1, args->length());
|
| @@ -3873,20 +3817,6 @@ void FullCodeGenerator::EmitToName(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitToObject(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK_EQ(1, args->length());
|
| -
|
| - // Load the argument into a0 and convert it.
|
| - VisitForAccumulatorValue(args->at(0));
|
| - __ mov(a0, result_register());
|
| -
|
| - ToObjectStub stub(isolate());
|
| - __ CallStub(&stub);
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| DCHECK(args->length() == 1);
|
| @@ -4125,21 +4055,6 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) {
|
| - RegExpConstructResultStub stub(isolate());
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK(args->length() == 3);
|
| - VisitForStackValue(args->at(0));
|
| - VisitForStackValue(args->at(1));
|
| - VisitForAccumulatorValue(args->at(2));
|
| - __ mov(a0, result_register());
|
| - __ pop(a1);
|
| - __ pop(a2);
|
| - __ CallStub(&stub);
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| VisitForAccumulatorValue(args->at(0));
|
|
|