| OLD | NEW |
| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "func-name-inferrer.h" | 47 #include "func-name-inferrer.h" |
| 48 #include "messages.h" | 48 #include "messages.h" |
| 49 #include "parser.h" | 49 #include "parser.h" |
| 50 #include "platform.h" | 50 #include "platform.h" |
| 51 #include "preparser.h" | 51 #include "preparser.h" |
| 52 #include "runtime.h" | 52 #include "runtime.h" |
| 53 #include "scanner-character-streams.h" | 53 #include "scanner-character-streams.h" |
| 54 #include "scopeinfo.h" | 54 #include "scopeinfo.h" |
| 55 #include "string-stream.h" | 55 #include "string-stream.h" |
| 56 | 56 |
| 57 #include "experimental-scanner.h" | |
| 58 | |
| 59 using namespace v8::internal; | 57 using namespace v8::internal; |
| 60 | 58 |
| 61 namespace v8 { | 59 namespace v8 { |
| 62 namespace internal { | 60 namespace internal { |
| 63 | 61 |
| 64 const byte* ReadFile(const char* name, Isolate* isolate, | 62 const byte* ReadFile(const char* name, Isolate* isolate, |
| 65 int* size, int repeat) { | 63 int* size, int repeat) { |
| 66 FILE* file = fopen(name, "rb"); | 64 FILE* file = fopen(name, "rb"); |
| 67 *size = 0; | 65 *size = 0; |
| 68 if (file == NULL) return NULL; | 66 if (file == NULL) return NULL; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 127 } |
| 130 | 128 |
| 131 | 129 |
| 132 bool EvenMoreExperimentalScanner::ValidIdentifierStart() { | 130 bool EvenMoreExperimentalScanner::ValidIdentifierStart() { |
| 133 return unicode_cache_->IsIdentifierStart(ScanHexNumber(4)); | 131 return unicode_cache_->IsIdentifierStart(ScanHexNumber(4)); |
| 134 } | 132 } |
| 135 | 133 |
| 136 | 134 |
| 137 } | 135 } |
| 138 } | 136 } |
| OLD | NEW |