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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 (ZoneList<Expression*>*); | 358 (ZoneList<Expression*>*); |
359 | 359 |
360 static const InlineFunctionGenerator kInlineFunctionGenerators[]; | 360 static const InlineFunctionGenerator kInlineFunctionGenerators[]; |
361 | 361 |
362 // Construction/Destruction | 362 // Construction/Destruction |
363 explicit CodeGenerator(MacroAssembler* masm); | 363 explicit CodeGenerator(MacroAssembler* masm); |
364 | 364 |
365 // Accessors | 365 // Accessors |
366 inline bool is_eval(); | 366 inline bool is_eval(); |
367 inline Scope* scope(); | 367 inline Scope* scope(); |
| 368 inline StrictModeFlag strict_mode_flag(); |
368 | 369 |
369 // Generating deferred code. | 370 // Generating deferred code. |
370 void ProcessDeferred(); | 371 void ProcessDeferred(); |
371 | 372 |
372 // State | 373 // State |
373 ControlDestination* destination() const { return state_->destination(); } | 374 ControlDestination* destination() const { return state_->destination(); } |
374 | 375 |
375 // Control of side-effect-free int32 expression compilation. | 376 // Control of side-effect-free int32 expression compilation. |
376 bool in_safe_int32_mode() { return in_safe_int32_mode_; } | 377 bool in_safe_int32_mode() { return in_safe_int32_mode_; } |
377 void set_in_safe_int32_mode(bool value) { in_safe_int32_mode_ = value; } | 378 void set_in_safe_int32_mode(bool value) { in_safe_int32_mode_ = value; } |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 | 789 |
789 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 790 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
790 | 791 |
791 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 792 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
792 }; | 793 }; |
793 | 794 |
794 | 795 |
795 } } // namespace v8::internal | 796 } } // namespace v8::internal |
796 | 797 |
797 #endif // V8_IA32_CODEGEN_IA32_H_ | 798 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |