| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index bd7412907b68ce61f6974b19c4e1d31b64d3848d..da45ae11116d813eaaa09b8107c1c8fd4241e1fe 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -12613,38 +12613,6 @@ void HOptimizedGraphBuilder::GenerateValueOf(CallRuntime* call) {
|
| }
|
|
|
|
|
| -void HOptimizedGraphBuilder::GenerateOneByteSeqStringSetChar(
|
| - CallRuntime* call) {
|
| - DCHECK(call->arguments()->length() == 3);
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(1)));
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(2)));
|
| - HValue* string = Pop();
|
| - HValue* value = Pop();
|
| - HValue* index = Pop();
|
| - Add<HSeqStringSetChar>(String::ONE_BYTE_ENCODING, string,
|
| - index, value);
|
| - Add<HSimulate>(call->id(), FIXED_SIMULATE);
|
| - return ast_context()->ReturnValue(graph()->GetConstantUndefined());
|
| -}
|
| -
|
| -
|
| -void HOptimizedGraphBuilder::GenerateTwoByteSeqStringSetChar(
|
| - CallRuntime* call) {
|
| - DCHECK(call->arguments()->length() == 3);
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(1)));
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(2)));
|
| - HValue* string = Pop();
|
| - HValue* value = Pop();
|
| - HValue* index = Pop();
|
| - Add<HSeqStringSetChar>(String::TWO_BYTE_ENCODING, string,
|
| - index, value);
|
| - Add<HSimulate>(call->id(), FIXED_SIMULATE);
|
| - return ast_context()->ReturnValue(graph()->GetConstantUndefined());
|
| -}
|
| -
|
| -
|
| // Fast support for charCodeAt(n).
|
| void HOptimizedGraphBuilder::GenerateStringCharCodeAt(CallRuntime* call) {
|
| DCHECK(call->arguments()->length() == 2);
|
|
|