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

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

Issue 18842: Experimental: periodic merge of the bleeding_edge branch to the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 11 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/api.cc ('k') | src/assembler-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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 // 388 //
389 // If the provided buffer is not NULL, the assembler uses the provided buffer 389 // If the provided buffer is not NULL, the assembler uses the provided buffer
390 // for code generation and assumes its size to be buffer_size. If the buffer 390 // for code generation and assumes its size to be buffer_size. If the buffer
391 // is too small, a fatal error occurs. No deallocation of the buffer is done 391 // is too small, a fatal error occurs. No deallocation of the buffer is done
392 // upon destruction of the assembler. 392 // upon destruction of the assembler.
393 Assembler(void* buffer, int buffer_size); 393 Assembler(void* buffer, int buffer_size);
394 ~Assembler(); 394 ~Assembler();
395 395
396 // GetCode emits any pending (non-emitted) code and fills the descriptor 396 // GetCode emits any pending (non-emitted) code and fills the descriptor
397 // desc. GetCode() is idempotent; it returns the same result if no other 397 // desc. GetCode() is idempotent; it returns the same result if no other
398 // Assembler functions are invoked inbetween GetCode() calls. 398 // Assembler functions are invoked in between GetCode() calls.
399 void GetCode(CodeDesc* desc); 399 void GetCode(CodeDesc* desc);
400 400
401 // Label operations & relative jumps (PPUM Appendix D) 401 // Label operations & relative jumps (PPUM Appendix D)
402 // 402 //
403 // Takes a branch opcode (cc) and a label (L) and generates 403 // Takes a branch opcode (cc) and a label (L) and generates
404 // either a backward branch or a forward branch and links it 404 // either a backward branch or a forward branch and links it
405 // to the label fixup chain. Usage: 405 // to the label fixup chain. Usage:
406 // 406 //
407 // Label L; // unbound label 407 // Label L; // unbound label
408 // j(cc, &L); // forward branch to unbound label 408 // j(cc, &L); // forward branch to unbound label
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 void link_to(Label* L, Label* appendix); 779 void link_to(Label* L, Label* appendix);
780 void next(Label* L); 780 void next(Label* L);
781 781
782 // Record reloc info for current pc_ 782 // Record reloc info for current pc_
783 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); 783 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
784 }; 784 };
785 785
786 } } // namespace v8::internal 786 } } // namespace v8::internal
787 787
788 #endif // V8_ASSEMBLER_ARM_H_ 788 #endif // V8_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698