OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 typedef void (CodeGenerator::*InlineFunctionGenerator) | 349 typedef void (CodeGenerator::*InlineFunctionGenerator) |
350 (ZoneList<Expression*>*); | 350 (ZoneList<Expression*>*); |
351 | 351 |
352 static const InlineFunctionGenerator kInlineFunctionGenerators[]; | 352 static const InlineFunctionGenerator kInlineFunctionGenerators[]; |
353 | 353 |
354 // Construction/Destruction | 354 // Construction/Destruction |
355 explicit CodeGenerator(MacroAssembler* masm); | 355 explicit CodeGenerator(MacroAssembler* masm); |
356 | 356 |
357 // Accessors | 357 // Accessors |
358 inline bool is_eval(); | 358 inline bool is_eval(); |
| 359 inline bool is_strict(); |
359 inline Scope* scope(); | 360 inline Scope* scope(); |
360 | 361 |
361 // Generating deferred code. | 362 // Generating deferred code. |
362 void ProcessDeferred(); | 363 void ProcessDeferred(); |
363 | 364 |
364 // State | 365 // State |
365 ControlDestination* destination() const { return state_->destination(); } | 366 ControlDestination* destination() const { return state_->destination(); } |
366 | 367 |
367 // Track loop nesting level. | 368 // Track loop nesting level. |
368 int loop_nesting() const { return loop_nesting_; } | 369 int loop_nesting() const { return loop_nesting_; } |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 | 741 |
741 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 742 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
742 | 743 |
743 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 744 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
744 }; | 745 }; |
745 | 746 |
746 | 747 |
747 } } // namespace v8::internal | 748 } } // namespace v8::internal |
748 | 749 |
749 #endif // V8_X64_CODEGEN_X64_H_ | 750 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |