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

Side by Side Diff: tools/lexer-shell.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/js2c.py ('k') | tools/lexer-shell.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 13 matching lines...) Expand all
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include <assert.h> 28 #include <assert.h>
29 #include <string.h> 29 #include <string.h>
30 #include <stdio.h> 30 #include <stdio.h>
31 #include <stdlib.h> 31 #include <stdlib.h>
32 #include <string> 32 #include <string>
33 #include <vector> 33 #include <vector>
34 #include "v8.h" 34 #include "src/v8.h"
35 35
36 #include "api.h" 36 #include "src/api.h"
37 #include "messages.h" 37 #include "src/messages.h"
38 #include "platform.h" 38 #include "src/platform.h"
39 #include "runtime.h" 39 #include "src/runtime.h"
40 #include "scanner-character-streams.h" 40 #include "src/scanner-character-streams.h"
41 #include "scopeinfo.h" 41 #include "src/scopeinfo.h"
42 #include "shell-utils.h" 42 #include "tools/shell-utils.h"
43 #include "string-stream.h" 43 #include "src/string-stream.h"
44 #include "scanner.h" 44 #include "src/scanner.h"
45 45
46 46
47 using namespace v8::internal; 47 using namespace v8::internal;
48 48
49 49
50 class BaselineScanner { 50 class BaselineScanner {
51 public: 51 public:
52 BaselineScanner(const char* fname, 52 BaselineScanner(const char* fname,
53 Isolate* isolate, 53 Isolate* isolate,
54 Encoding encoding, 54 Encoding encoding,
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 repeat); 223 repeat);
224 baseline_total += time.InMillisecondsF(); 224 baseline_total += time.InMillisecondsF();
225 } 225 }
226 if (benchmark.empty()) benchmark = "Baseline"; 226 if (benchmark.empty()) benchmark = "Baseline";
227 printf("%s(RunTime): %.f ms\n", benchmark.c_str(), baseline_total); 227 printf("%s(RunTime): %.f ms\n", benchmark.c_str(), baseline_total);
228 } 228 }
229 } 229 }
230 v8::V8::Dispose(); 230 v8::V8::Dispose();
231 return 0; 231 return 0;
232 } 232 }
OLDNEW
« no previous file with comments | « tools/js2c.py ('k') | tools/lexer-shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698