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 bool is_strict_mode(); |
368 inline StrictModeFlag strict_mode_flag(); | 369 inline StrictModeFlag strict_mode_flag(); |
369 | 370 |
370 // Generating deferred code. | 371 // Generating deferred code. |
371 void ProcessDeferred(); | 372 void ProcessDeferred(); |
372 | 373 |
373 // State | 374 // State |
374 ControlDestination* destination() const { return state_->destination(); } | 375 ControlDestination* destination() const { return state_->destination(); } |
375 | 376 |
376 // Control of side-effect-free int32 expression compilation. | 377 // Control of side-effect-free int32 expression compilation. |
377 bool in_safe_int32_mode() { return in_safe_int32_mode_; } | 378 bool in_safe_int32_mode() { return in_safe_int32_mode_; } |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 | 790 |
790 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 791 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
791 | 792 |
792 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 793 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
793 }; | 794 }; |
794 | 795 |
795 | 796 |
796 } } // namespace v8::internal | 797 } } // namespace v8::internal |
797 | 798 |
798 #endif // V8_IA32_CODEGEN_IA32_H_ | 799 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |