| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 | 336 |
| 337 bool in_spilled_code() const { return in_spilled_code_; } | 337 bool in_spilled_code() const { return in_spilled_code_; } |
| 338 void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; } | 338 void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; } |
| 339 | 339 |
| 340 private: | 340 private: |
| 341 // Construction/Destruction | 341 // Construction/Destruction |
| 342 explicit CodeGenerator(MacroAssembler* masm); | 342 explicit CodeGenerator(MacroAssembler* masm); |
| 343 | 343 |
| 344 // Accessors | 344 // Accessors |
| 345 inline bool is_eval(); | 345 inline bool is_eval(); |
| 346 Scope* scope(); | 346 inline Scope* scope(); |
| 347 | 347 |
| 348 // Generating deferred code. | 348 // Generating deferred code. |
| 349 void ProcessDeferred(); | 349 void ProcessDeferred(); |
| 350 | 350 |
| 351 // State | 351 // State |
| 352 ControlDestination* destination() const { return state_->destination(); } | 352 ControlDestination* destination() const { return state_->destination(); } |
| 353 | 353 |
| 354 // Track loop nesting level. | 354 // Track loop nesting level. |
| 355 int loop_nesting() const { return loop_nesting_; } | 355 int loop_nesting() const { return loop_nesting_; } |
| 356 void IncrementLoopNesting() { loop_nesting_++; } | 356 void IncrementLoopNesting() { loop_nesting_++; } |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 Major MajorKey() { return StringCompare; } | 820 Major MajorKey() { return StringCompare; } |
| 821 int MinorKey() { return 0; } | 821 int MinorKey() { return 0; } |
| 822 | 822 |
| 823 void Generate(MacroAssembler* masm); | 823 void Generate(MacroAssembler* masm); |
| 824 }; | 824 }; |
| 825 | 825 |
| 826 | 826 |
| 827 } } // namespace v8::internal | 827 } } // namespace v8::internal |
| 828 | 828 |
| 829 #endif // V8_X64_CODEGEN_X64_H_ | 829 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |