| OLD | NEW | 
|---|
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 187   void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; } | 187   void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; } | 
| 188 | 188 | 
| 189  private: | 189  private: | 
| 190   // Construction/Destruction | 190   // Construction/Destruction | 
| 191   CodeGenerator(int buffer_size, Handle<Script> script, bool is_eval); | 191   CodeGenerator(int buffer_size, Handle<Script> script, bool is_eval); | 
| 192   virtual ~CodeGenerator() { delete masm_; } | 192   virtual ~CodeGenerator() { delete masm_; } | 
| 193 | 193 | 
| 194   // Accessors | 194   // Accessors | 
| 195   Scope* scope() const { return scope_; } | 195   Scope* scope() const { return scope_; } | 
| 196 | 196 | 
| 197   // Clearing and generating deferred code. | 197   // Generating deferred code. | 
| 198   void ClearDeferred(); |  | 
| 199   void ProcessDeferred(); | 198   void ProcessDeferred(); | 
| 200 | 199 | 
| 201   bool is_eval() { return is_eval_; } | 200   bool is_eval() { return is_eval_; } | 
| 202 | 201 | 
| 203   // State | 202   // State | 
| 204   bool has_cc() const  { return cc_reg_ != al; } | 203   bool has_cc() const  { return cc_reg_ != al; } | 
| 205   TypeofState typeof_state() const { return state_->typeof_state(); } | 204   TypeofState typeof_state() const { return state_->typeof_state(); } | 
| 206   JumpTarget* true_target() const  { return state_->true_target(); } | 205   JumpTarget* true_target() const  { return state_->true_target(); } | 
| 207   JumpTarget* false_target() const  { return state_->false_target(); } | 206   JumpTarget* false_target() const  { return state_->false_target(); } | 
| 208 | 207 | 
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 451   friend class JumpTarget; | 450   friend class JumpTarget; | 
| 452   friend class Reference; | 451   friend class Reference; | 
| 453 | 452 | 
| 454   DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 453   DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 
| 455 }; | 454 }; | 
| 456 | 455 | 
| 457 | 456 | 
| 458 } }  // namespace v8::internal | 457 } }  // namespace v8::internal | 
| 459 | 458 | 
| 460 #endif  // V8_ARM_CODEGEN_ARM_H_ | 459 #endif  // V8_ARM_CODEGEN_ARM_H_ | 
| OLD | NEW | 
|---|