| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 F(next, "next") \ | 263 F(next, "next") \ |
| 264 F(proto, "__proto__") \ | 264 F(proto, "__proto__") \ |
| 265 F(prototype, "prototype") \ | 265 F(prototype, "prototype") \ |
| 266 F(rest_parameter, ".rest_parameter") \ | 266 F(rest_parameter, ".rest_parameter") \ |
| 267 F(this, "this") \ | 267 F(this, "this") \ |
| 268 F(this_function, ".this_function") \ | 268 F(this_function, ".this_function") \ |
| 269 F(undefined, "undefined") \ | 269 F(undefined, "undefined") \ |
| 270 F(use_asm, "use asm") \ | 270 F(use_asm, "use asm") \ |
| 271 F(use_strong, "use strong") \ | 271 F(use_strong, "use strong") \ |
| 272 F(use_strict, "use strict") \ | 272 F(use_strict, "use strict") \ |
| 273 F(value, "value") | 273 F(value, "value") \ |
| 274 F(throwLittleDan, "throwLittleDan") |
| 274 | 275 |
| 275 #define OTHER_CONSTANTS(F) \ | 276 #define OTHER_CONSTANTS(F) \ |
| 276 F(true_value) \ | 277 F(true_value) \ |
| 277 F(false_value) \ | 278 F(false_value) \ |
| 278 F(null_value) \ | 279 F(null_value) \ |
| 279 F(undefined_value) \ | 280 F(undefined_value) \ |
| 280 F(the_hole_value) | 281 F(the_hole_value) |
| 281 | 282 |
| 282 class AstValueFactory { | 283 class AstValueFactory { |
| 283 public: | 284 public: |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 OTHER_CONSTANTS(F) | 367 OTHER_CONSTANTS(F) |
| 367 #undef F | 368 #undef F |
| 368 }; | 369 }; |
| 369 } // namespace internal | 370 } // namespace internal |
| 370 } // namespace v8 | 371 } // namespace v8 |
| 371 | 372 |
| 372 #undef STRING_CONSTANTS | 373 #undef STRING_CONSTANTS |
| 373 #undef OTHER_CONSTANTS | 374 #undef OTHER_CONSTANTS |
| 374 | 375 |
| 375 #endif // V8_AST_VALUE_FACTORY_H_ | 376 #endif // V8_AST_VALUE_FACTORY_H_ |
| OLD | NEW |