Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: src/codegen-arm.h

Issue 42067: Fix issue 268 by explicitly calling Unuse (to deallocate all contained... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/codegen.cc ('k') | src/codegen-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; } 188 void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; }
189 189
190 private: 190 private:
191 // Construction/Destruction 191 // Construction/Destruction
192 CodeGenerator(int buffer_size, Handle<Script> script, bool is_eval); 192 CodeGenerator(int buffer_size, Handle<Script> script, bool is_eval);
193 virtual ~CodeGenerator() { delete masm_; } 193 virtual ~CodeGenerator() { delete masm_; }
194 194
195 // Accessors 195 // Accessors
196 Scope* scope() const { return scope_; } 196 Scope* scope() const { return scope_; }
197 197
198 // Clearing and generating deferred code.
199 void ClearDeferred();
198 void ProcessDeferred(); 200 void ProcessDeferred();
199 201
200 bool is_eval() { return is_eval_; } 202 bool is_eval() { return is_eval_; }
201 203
202 // State 204 // State
203 bool has_cc() const { return cc_reg_ != al; } 205 bool has_cc() const { return cc_reg_ != al; }
204 TypeofState typeof_state() const { return state_->typeof_state(); } 206 TypeofState typeof_state() const { return state_->typeof_state(); }
205 JumpTarget* true_target() const { return state_->true_target(); } 207 JumpTarget* true_target() const { return state_->true_target(); }
206 JumpTarget* false_target() const { return state_->false_target(); } 208 JumpTarget* false_target() const { return state_->false_target(); }
207 209
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 cgen_->set_in_spilled_code(false); 475 cgen_->set_in_spilled_code(false);
474 GetValue(typeof_state); 476 GetValue(typeof_state);
475 cgen_->frame()->SpillAll(); 477 cgen_->frame()->SpillAll();
476 cgen_->set_in_spilled_code(true); 478 cgen_->set_in_spilled_code(true);
477 } 479 }
478 480
479 481
480 } } // namespace v8::internal 482 } } // namespace v8::internal
481 483
482 #endif // V8_CODEGEN_ARM_H_ 484 #endif // V8_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698