| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 void Print() { | 917 void Print() { |
| 918 PrintF("NumberToStringStub\n"); | 918 PrintF("NumberToStringStub\n"); |
| 919 } | 919 } |
| 920 #endif | 920 #endif |
| 921 }; | 921 }; |
| 922 | 922 |
| 923 | 923 |
| 924 } } // namespace v8::internal | 924 } } // namespace v8::internal |
| 925 | 925 |
| 926 #endif // V8_IA32_CODEGEN_IA32_H_ | 926 #endif // V8_IA32_CODEGEN_IA32_H_ |
| OLD | NEW |