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

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

Issue 13246: Experimental: more code generator changes.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 12 years 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/assembler-ia32.h ('k') | src/codegen-ia32.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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 int start_position, 167 int start_position,
168 int end_position, 168 int end_position,
169 bool is_expression, 169 bool is_expression,
170 bool is_toplevel, 170 bool is_toplevel,
171 Handle<Script> script); 171 Handle<Script> script);
172 172
173 // Accessors 173 // Accessors
174 MacroAssembler* masm() { return masm_; } 174 MacroAssembler* masm() { return masm_; }
175 175
176 VirtualFrame* frame() const { return frame_; } 176 VirtualFrame* frame() const { return frame_; }
177 void set_frame(VirtualFrame* frame) { frame_ = frame; } 177
178 void delete_frame() { 178 void SetFrame(VirtualFrame* frame);
179 delete frame_; 179
180 frame_ = NULL; 180 void DeleteFrame();
181 }
182 181
183 RegisterAllocator* allocator() const { return allocator_; } 182 RegisterAllocator* allocator() const { return allocator_; }
184 183
185 CodeGenState* state() { return state_; } 184 CodeGenState* state() { return state_; }
186 void set_state(CodeGenState* state) { state_ = state; } 185 void set_state(CodeGenState* state) { state_ = state; }
187 186
188 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } 187 void AddDeferred(DeferredCode* code) { deferred_.Add(code); }
189 188
190 private: 189 private:
191 // Construction/Destruction 190 // Construction/Destruction
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 friend class JumpTarget; 413 friend class JumpTarget;
415 friend class Reference; 414 friend class Reference;
416 415
417 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 416 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
418 }; 417 };
419 418
420 419
421 } } // namespace v8::internal 420 } } // namespace v8::internal
422 421
423 #endif // V8_CODEGEN_IA32_H_ 422 #endif // V8_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/assembler-ia32.h ('k') | src/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698