| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 F(initialize_var_global, "initializeVarGlobal") \ | 253 F(initialize_var_global, "initializeVarGlobal") \ |
| 254 F(make_reference_error, "MakeReferenceError") \ | 254 F(make_reference_error, "MakeReferenceError") \ |
| 255 F(make_syntax_error, "MakeSyntaxError") \ | 255 F(make_syntax_error, "MakeSyntaxError") \ |
| 256 F(make_type_error, "MakeTypeError") \ | 256 F(make_type_error, "MakeTypeError") \ |
| 257 F(module, "module") \ | 257 F(module, "module") \ |
| 258 F(native, "native") \ | 258 F(native, "native") \ |
| 259 F(next, "next") \ | 259 F(next, "next") \ |
| 260 F(proto, "__proto__") \ | 260 F(proto, "__proto__") \ |
| 261 F(prototype, "prototype") \ | 261 F(prototype, "prototype") \ |
| 262 F(this, "this") \ | 262 F(this, "this") \ |
| 263 F(use_asm, "use asm") \ |
| 263 F(use_strict, "use strict") \ | 264 F(use_strict, "use strict") \ |
| 264 F(value, "value") | 265 F(value, "value") |
| 265 | 266 |
| 266 | 267 |
| 267 class AstValueFactory { | 268 class AstValueFactory { |
| 268 public: | 269 public: |
| 269 AstValueFactory(Zone* zone, uint32_t hash_seed) | 270 AstValueFactory(Zone* zone, uint32_t hash_seed) |
| 270 : string_table_(AstRawString::Compare), | 271 : string_table_(AstRawString::Compare), |
| 271 zone_(zone), | 272 zone_(zone), |
| 272 isolate_(NULL), | 273 isolate_(NULL), |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 const AstRawString* name##_string_; | 336 const AstRawString* name##_string_; |
| 336 STRING_CONSTANTS(F) | 337 STRING_CONSTANTS(F) |
| 337 #undef F | 338 #undef F |
| 338 }; | 339 }; |
| 339 | 340 |
| 340 } } // namespace v8::internal | 341 } } // namespace v8::internal |
| 341 | 342 |
| 342 #undef STRING_CONSTANTS | 343 #undef STRING_CONSTANTS |
| 343 | 344 |
| 344 #endif // V8_AST_VALUE_FACTORY_H_ | 345 #endif // V8_AST_VALUE_FACTORY_H_ |
| OLD | NEW |