| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 CodeGenState* state() { return state_; } | 202 CodeGenState* state() { return state_; } |
| 203 void set_state(CodeGenState* state) { state_ = state; } | 203 void set_state(CodeGenState* state) { state_ = state; } |
| 204 | 204 |
| 205 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } | 205 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } |
| 206 | 206 |
| 207 static const int kUnknownIntValue = -1; | 207 static const int kUnknownIntValue = -1; |
| 208 | 208 |
| 209 private: | 209 private: |
| 210 // Construction/Destruction | 210 // Construction/Destruction |
| 211 CodeGenerator(MacroAssembler* masm); | 211 explicit CodeGenerator(MacroAssembler* masm); |
| 212 | 212 |
| 213 // Accessors | 213 // Accessors |
| 214 inline bool is_eval(); | 214 inline bool is_eval(); |
| 215 Scope* scope(); | 215 Scope* scope(); |
| 216 | 216 |
| 217 // Generating deferred code. | 217 // Generating deferred code. |
| 218 void ProcessDeferred(); | 218 void ProcessDeferred(); |
| 219 | 219 |
| 220 // State | 220 // State |
| 221 bool has_cc() const { return cc_reg_ != al; } | 221 bool has_cc() const { return cc_reg_ != al; } |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 Major MajorKey() { return StringCompare; } | 598 Major MajorKey() { return StringCompare; } |
| 599 int MinorKey() { return 0; } | 599 int MinorKey() { return 0; } |
| 600 | 600 |
| 601 void Generate(MacroAssembler* masm); | 601 void Generate(MacroAssembler* masm); |
| 602 }; | 602 }; |
| 603 | 603 |
| 604 | 604 |
| 605 } } // namespace v8::internal | 605 } } // namespace v8::internal |
| 606 | 606 |
| 607 #endif // V8_ARM_CODEGEN_ARM_H_ | 607 #endif // V8_ARM_CODEGEN_ARM_H_ |
| OLD | NEW |