| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Scope* scope(); | 359 inline Scope* scope(); |
| 360 inline bool is_strict_mode(); |
| 360 inline StrictModeFlag strict_mode_flag(); | 361 inline StrictModeFlag strict_mode_flag(); |
| 361 | 362 |
| 362 // Generating deferred code. | 363 // Generating deferred code. |
| 363 void ProcessDeferred(); | 364 void ProcessDeferred(); |
| 364 | 365 |
| 365 // State | 366 // State |
| 366 ControlDestination* destination() const { return state_->destination(); } | 367 ControlDestination* destination() const { return state_->destination(); } |
| 367 | 368 |
| 368 // Track loop nesting level. | 369 // Track loop nesting level. |
| 369 int loop_nesting() const { return loop_nesting_; } | 370 int loop_nesting() const { return loop_nesting_; } |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 | 742 |
| 742 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 743 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
| 743 | 744 |
| 744 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 745 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 745 }; | 746 }; |
| 746 | 747 |
| 747 | 748 |
| 748 } } // namespace v8::internal | 749 } } // namespace v8::internal |
| 749 | 750 |
| 750 #endif // V8_X64_CODEGEN_X64_H_ | 751 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |