| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 } | 254 } |
| 255 virtual ZoneMapList* GetReceiverTypes() { | 255 virtual ZoneMapList* GetReceiverTypes() { |
| 256 UNREACHABLE(); | 256 UNREACHABLE(); |
| 257 return NULL; | 257 return NULL; |
| 258 } | 258 } |
| 259 virtual Handle<Map> GetMonomorphicReceiverType() { | 259 virtual Handle<Map> GetMonomorphicReceiverType() { |
| 260 UNREACHABLE(); | 260 UNREACHABLE(); |
| 261 return Handle<Map>(); | 261 return Handle<Map>(); |
| 262 } | 262 } |
| 263 | 263 |
| 264 ExternalArrayType external_array_type() const { | |
| 265 return external_array_type_; | |
| 266 } | |
| 267 void set_external_array_type(ExternalArrayType array_type) { | |
| 268 external_array_type_ = array_type; | |
| 269 } | |
| 270 | |
| 271 unsigned id() const { return id_; } | 264 unsigned id() const { return id_; } |
| 272 | 265 |
| 273 private: | 266 private: |
| 274 ExternalArrayType external_array_type_; | |
| 275 unsigned id_; | 267 unsigned id_; |
| 276 }; | 268 }; |
| 277 | 269 |
| 278 | 270 |
| 279 /** | 271 /** |
| 280 * A sentinel used during pre parsing that represents some expression | 272 * A sentinel used during pre parsing that represents some expression |
| 281 * that is a valid left hand side without having to actually build | 273 * that is a valid left hand side without having to actually build |
| 282 * the expression. | 274 * the expression. |
| 283 */ | 275 */ |
| 284 class ValidLeftHandSideSentinel: public Expression { | 276 class ValidLeftHandSideSentinel: public Expression { |
| (...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2152 | 2144 |
| 2153 private: | 2145 private: |
| 2154 Isolate* isolate_; | 2146 Isolate* isolate_; |
| 2155 bool stack_overflow_; | 2147 bool stack_overflow_; |
| 2156 }; | 2148 }; |
| 2157 | 2149 |
| 2158 | 2150 |
| 2159 } } // namespace v8::internal | 2151 } } // namespace v8::internal |
| 2160 | 2152 |
| 2161 #endif // V8_AST_H_ | 2153 #endif // V8_AST_H_ |
| OLD | NEW |