Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: samples/lineprocessor.cc

Issue 148503002: A64: Synchronize with r15545. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « preparser/preparser.gyp ('k') | samples/process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/lineprocessor.cc
diff --git a/samples/lineprocessor.cc b/samples/lineprocessor.cc
index 214af057db8e80df890b74ee3f9c0ef2fbb960dc..adc5b13e4d25be8841638fa30c8adcfe0b3613c5 100644
--- a/samples/lineprocessor.cc
+++ b/samples/lineprocessor.cc
@@ -322,6 +322,7 @@ bool RunCppCycle(v8::Handle<v8::Script> script,
return true;
}
+
int main(int argc, char* argv[]) {
int result = RunMain(argc, argv);
v8::V8::Dispose();
@@ -421,6 +422,7 @@ void ReadLine(const v8::FunctionCallbackInfo<v8::Value>& args) {
args.GetReturnValue().Set(ReadLine());
}
+
v8::Handle<v8::String> ReadLine() {
const int kBufferSize = 1024 + 1;
char buffer[kBufferSize];
« no previous file with comments | « preparser/preparser.gyp ('k') | samples/process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698