Index: test/cctest/compiler/test-run-intrinsics.cc |
diff --git a/test/cctest/compiler/test-run-intrinsics.cc b/test/cctest/compiler/test-run-intrinsics.cc |
index 54b34605e60db20673c993365fe54dd0e45b90d4..0ea611bade79a9f1e7f2d438aaec6cb610170e85 100644 |
--- a/test/cctest/compiler/test-run-intrinsics.cc |
+++ b/test/cctest/compiler/test-run-intrinsics.cc |
@@ -111,37 +111,6 @@ TEST(IsSmi) { |
} |
-TEST(OneByteSeqStringGetChar) { |
- FunctionTester T("(function(a,b) { return %_OneByteSeqStringGetChar(a,b); })", |
- flags); |
- |
- Handle<SeqOneByteString> string = |
- T.main_isolate()->factory()->NewRawOneByteString(3).ToHandleChecked(); |
- string->SeqOneByteStringSet(0, 'b'); |
- string->SeqOneByteStringSet(1, 'a'); |
- string->SeqOneByteStringSet(2, 'r'); |
- T.CheckCall(T.Val('b'), string, T.Val(0.0)); |
- T.CheckCall(T.Val('a'), string, T.Val(1)); |
- T.CheckCall(T.Val('r'), string, T.Val(2)); |
-} |
- |
- |
-TEST(OneByteSeqStringSetChar) { |
- FunctionTester T("(function(a,b) { %_OneByteSeqStringSetChar(a,88,b); })", |
- flags); |
- |
- Handle<SeqOneByteString> string = |
- T.main_isolate()->factory()->NewRawOneByteString(3).ToHandleChecked(); |
- string->SeqOneByteStringSet(0, 'b'); |
- string->SeqOneByteStringSet(1, 'a'); |
- string->SeqOneByteStringSet(2, 'r'); |
- T.Call(T.Val(1), string); |
- CHECK_EQ('b', string->SeqOneByteStringGet(0)); |
- CHECK_EQ('X', string->SeqOneByteStringGet(1)); |
- CHECK_EQ('r', string->SeqOneByteStringGet(2)); |
-} |
- |
- |
TEST(StringAdd) { |
FunctionTester T("(function(a,b) { return %_StringAdd(a,b); })", flags); |
@@ -188,37 +157,6 @@ TEST(SubString) { |
} |
-TEST(TwoByteSeqStringGetChar) { |
- FunctionTester T("(function(a,b) { return %_TwoByteSeqStringGetChar(a,b); })", |
- flags); |
- |
- Handle<SeqTwoByteString> string = |
- T.main_isolate()->factory()->NewRawTwoByteString(3).ToHandleChecked(); |
- string->SeqTwoByteStringSet(0, 'b'); |
- string->SeqTwoByteStringSet(1, 'a'); |
- string->SeqTwoByteStringSet(2, 'r'); |
- T.CheckCall(T.Val('b'), string, T.Val(0.0)); |
- T.CheckCall(T.Val('a'), string, T.Val(1)); |
- T.CheckCall(T.Val('r'), string, T.Val(2)); |
-} |
- |
- |
-TEST(TwoByteSeqStringSetChar) { |
- FunctionTester T("(function(a,b) { %_TwoByteSeqStringSetChar(a,88,b); })", |
- flags); |
- |
- Handle<SeqTwoByteString> string = |
- T.main_isolate()->factory()->NewRawTwoByteString(3).ToHandleChecked(); |
- string->SeqTwoByteStringSet(0, 'b'); |
- string->SeqTwoByteStringSet(1, 'a'); |
- string->SeqTwoByteStringSet(2, 'r'); |
- T.Call(T.Val(1), string); |
- CHECK_EQ('b', string->SeqTwoByteStringGet(0)); |
- CHECK_EQ('X', string->SeqTwoByteStringGet(1)); |
- CHECK_EQ('r', string->SeqTwoByteStringGet(2)); |
-} |
- |
- |
TEST(ValueOf) { |
FunctionTester T("(function(a) { return %_ValueOf(a); })", flags); |