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

Side by Side Diff: src/arm/virtual-frame-arm.h

Issue 1732024: Partial and small update to the codegen to use the new regiter allocator... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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/arm/codegen-arm.cc ('k') | src/arm/virtual-frame-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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 365
366 // Takes the top element and puts it in r1. 366 // Takes the top element and puts it in r1.
367 void PopToR1(); 367 void PopToR1();
368 368
369 // Takes the top element and puts it in r0. 369 // Takes the top element and puts it in r0.
370 void PopToR0(); 370 void PopToR0();
371 371
372 // Push an element on top of the expression stack and emit a 372 // Push an element on top of the expression stack and emit a
373 // corresponding push instruction. 373 // corresponding push instruction.
374 void EmitPush(Register reg); 374 void EmitPush(Register reg);
375 void EmitPush(Operand operand);
375 void EmitPush(MemOperand operand); 376 void EmitPush(MemOperand operand);
377 void EmitPushRoot(Heap::RootListIndex index);
376 378
377 // Get a register which is free and which must be immediately used to 379 // Get a register which is free and which must be immediately used to
378 // push on the top of the stack. 380 // push on the top of the stack.
379 Register GetTOSRegister(); 381 Register GetTOSRegister();
380 382
381 // Push multiple registers on the stack and the virtual frame 383 // Push multiple registers on the stack and the virtual frame
382 // Register are selected by setting bit in src_regs and 384 // Register are selected by setting bit in src_regs and
383 // are pushed in decreasing order: r15 .. r0. 385 // are pushed in decreasing order: r15 .. r0.
384 void EmitPushMultiple(int count, int src_regs); 386 void EmitPushMultiple(int count, int src_regs);
385 387
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 inline bool Equals(VirtualFrame* other); 487 inline bool Equals(VirtualFrame* other);
486 488
487 friend class JumpTarget; 489 friend class JumpTarget;
488 friend class DeferredCode; 490 friend class DeferredCode;
489 }; 491 };
490 492
491 493
492 } } // namespace v8::internal 494 } } // namespace v8::internal
493 495
494 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ 496 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/virtual-frame-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698