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

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

Issue 147141: X64 implementation: VisitUnaryOperation, configure dtoa for X64 platform. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 5 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/x64/codegen-x64.cc ('k') | src/x64/virtual-frame-x64.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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // Pop and save an element from the top of the expression stack and 369 // Pop and save an element from the top of the expression stack and
370 // emit a corresponding pop instruction. 370 // emit a corresponding pop instruction.
371 void EmitPop(Register reg); 371 void EmitPop(Register reg);
372 void EmitPop(const Operand& operand); 372 void EmitPop(const Operand& operand);
373 373
374 // Push an element on top of the expression stack and emit a 374 // Push an element on top of the expression stack and emit a
375 // corresponding push instruction. 375 // corresponding push instruction.
376 void EmitPush(Register reg); 376 void EmitPush(Register reg);
377 void EmitPush(const Operand& operand); 377 void EmitPush(const Operand& operand);
378 void EmitPush(Immediate immediate); 378 void EmitPush(Immediate immediate);
379 // Uses kScratchRegister, emits appropriate relocation info.
380 void EmitPush(Handle<Object> value);
379 381
380 // Push an element on the virtual frame. 382 // Push an element on the virtual frame.
381 void Push(Register reg); 383 void Push(Register reg);
382 void Push(Handle<Object> value); 384 void Push(Handle<Object> value);
383 void Push(Smi* value) { Push(Handle<Object>(value)); } 385 void Push(Smi* value) { Push(Handle<Object>(value)); }
384 386
385 // Pushing a result invalidates it (its contents become owned by the 387 // Pushing a result invalidates it (its contents become owned by the
386 // frame). 388 // frame).
387 void Push(Result* result) { 389 void Push(Result* result) {
388 if (result->is_register()) { 390 if (result->is_register()) {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 546
545 // Classes that need raw access to the elements_ array. 547 // Classes that need raw access to the elements_ array.
546 friend class DeferredCode; 548 friend class DeferredCode;
547 friend class JumpTarget; 549 friend class JumpTarget;
548 }; 550 };
549 551
550 552
551 } } // namespace v8::internal 553 } } // namespace v8::internal
552 554
553 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ 555 #endif // V8_X64_VIRTUAL_FRAME_X64_H_
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | src/x64/virtual-frame-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698