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

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

Issue 11364177: Fixed Code::FindCodeAgeSequence logic, removing a dead method on the way. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 8 years, 1 month 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 | « no previous file | src/objects.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // buffer, and buffer_size determines the initial buffer size. The buffer is 518 // buffer, and buffer_size determines the initial buffer size. The buffer is
519 // owned by the assembler and deallocated upon destruction of the assembler. 519 // owned by the assembler and deallocated upon destruction of the assembler.
520 // 520 //
521 // If the provided buffer is not NULL, the assembler uses the provided buffer 521 // If the provided buffer is not NULL, the assembler uses the provided buffer
522 // for code generation and assumes its size to be buffer_size. If the buffer 522 // for code generation and assumes its size to be buffer_size. If the buffer
523 // is too small, a fatal error occurs. No deallocation of the buffer is done 523 // is too small, a fatal error occurs. No deallocation of the buffer is done
524 // upon destruction of the assembler. 524 // upon destruction of the assembler.
525 Assembler(Isolate* isolate, void* buffer, int buffer_size); 525 Assembler(Isolate* isolate, void* buffer, int buffer_size);
526 ~Assembler(); 526 ~Assembler();
527 527
528 // Dummy for cross platform compatibility.
529 void set_predictable_code_size(bool value) { }
530
531 // GetCode emits any pending (non-emitted) code and fills the descriptor 528 // GetCode emits any pending (non-emitted) code and fills the descriptor
532 // desc. GetCode() is idempotent; it returns the same result if no other 529 // desc. GetCode() is idempotent; it returns the same result if no other
533 // Assembler functions are invoked in between GetCode() calls. 530 // Assembler functions are invoked in between GetCode() calls.
534 void GetCode(CodeDesc* desc); 531 void GetCode(CodeDesc* desc);
535 532
536 // Label operations & relative jumps (PPUM Appendix D). 533 // Label operations & relative jumps (PPUM Appendix D).
537 // 534 //
538 // Takes a branch opcode (cc) and a label (L) and generates 535 // Takes a branch opcode (cc) and a label (L) and generates
539 // either a backward branch or a forward branch and links it 536 // either a backward branch or a forward branch and links it
540 // to the label fixup chain. Usage: 537 // to the label fixup chain. Usage:
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 class EnsureSpace BASE_EMBEDDED { 1285 class EnsureSpace BASE_EMBEDDED {
1289 public: 1286 public:
1290 explicit EnsureSpace(Assembler* assembler) { 1287 explicit EnsureSpace(Assembler* assembler) {
1291 assembler->CheckBuffer(); 1288 assembler->CheckBuffer();
1292 } 1289 }
1293 }; 1290 };
1294 1291
1295 } } // namespace v8::internal 1292 } } // namespace v8::internal
1296 1293
1297 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1294 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698