Changeset 65305 in webkit for trunk/JavaScriptCore/jsc.cpp
- Timestamp:
- Aug 13, 2010, 12:35:45 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jsc.cpp
r65302 r65305 179 179 putchar(' '); 180 180 181 printf("%s", exec->argument(i).toString(exec). UTF8String().data());181 printf("%s", exec->argument(i).toString(exec).utf8().data()); 182 182 } 183 183 … … 189 189 EncodedJSValue JSC_HOST_CALL functionDebug(ExecState* exec) 190 190 { 191 fprintf(stderr, "--> %s\n", exec->argument(0).toString(exec). UTF8String().data());191 fprintf(stderr, "--> %s\n", exec->argument(0).toString(exec).utf8().data()); 192 192 return JSValue::encode(jsUndefined()); 193 193 } … … 443 443 printf("Exception: %s\n", completion.value().toString(globalObject->globalExec()).ascii()); 444 444 else 445 printf("%s\n", completion.value().toString(globalObject->globalExec()). UTF8String().data());445 printf("%s\n", completion.value().toString(globalObject->globalExec()).utf8().data()); 446 446 447 447 globalObject->globalExec()->clearException(); … … 533 533 static bool fillBufferWithContentsOfFile(const UString& fileName, Vector<char>& buffer) 534 534 { 535 FILE* f = fopen(fileName. UTF8String().data(), "r");535 FILE* f = fopen(fileName.utf8().data(), "r"); 536 536 if (!f) { 537 fprintf(stderr, "Could not open file: %s\n", fileName. UTF8String().data());537 fprintf(stderr, "Could not open file: %s\n", fileName.utf8().data()); 538 538 return false; 539 539 }
Note:
See TracChangeset
for help on using the changeset viewer.