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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 3449004: Cleanup of contexts in the full code generator. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 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/full-codegen-x64.cc ('k') | src/x64/macro-assembler-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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 Register scratch2, 513 Register scratch2,
514 Label* on_fail); 514 Label* on_fail);
515 515
516 // --------------------------------------------------------------------------- 516 // ---------------------------------------------------------------------------
517 // Macro instructions. 517 // Macro instructions.
518 518
519 // Load a register with a long value as efficiently as possible. 519 // Load a register with a long value as efficiently as possible.
520 void Set(Register dst, int64_t x); 520 void Set(Register dst, int64_t x);
521 void Set(const Operand& dst, int64_t x); 521 void Set(const Operand& dst, int64_t x);
522 522
523 // Move if the registers are not identical.
524 void Move(Register target, Register source);
525
523 // Handle support 526 // Handle support
524 void Move(Register dst, Handle<Object> source); 527 void Move(Register dst, Handle<Object> source);
525 void Move(const Operand& dst, Handle<Object> source); 528 void Move(const Operand& dst, Handle<Object> source);
526 void Cmp(Register dst, Handle<Object> source); 529 void Cmp(Register dst, Handle<Object> source);
527 void Cmp(const Operand& dst, Handle<Object> source); 530 void Cmp(const Operand& dst, Handle<Object> source);
528 void Push(Handle<Object> source); 531 void Push(Handle<Object> source);
529 532
530 // Emit code to discard a non-negative number of pointer-sized elements 533 // Emit code to discard a non-negative number of pointer-sized elements
531 // from the stack, clobbering only the rsp register. 534 // from the stack, clobbering only the rsp register.
532 void Drop(int stack_elements); 535 void Drop(int stack_elements);
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 } \ 961 } \
959 masm-> 962 masm->
960 #else 963 #else
961 #define ACCESS_MASM(masm) masm-> 964 #define ACCESS_MASM(masm) masm->
962 #endif 965 #endif
963 966
964 967
965 } } // namespace v8::internal 968 } } // namespace v8::internal
966 969
967 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 970 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698