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

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

Issue 5714001: Improve our type feedback by recogizining never-executed IC calls for binary ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: address comments, fixed ARM build. Created 10 years 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/full-codegen.h ('k') | src/ia32/code-stubs-ia32.h » ('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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 static const int kCallInstructionLength = 5; 564 static const int kCallInstructionLength = 5;
565 static const int kJSReturnSequenceLength = 6; 565 static const int kJSReturnSequenceLength = 6;
566 566
567 // The debug break slot must be able to contain a call instruction. 567 // The debug break slot must be able to contain a call instruction.
568 static const int kDebugBreakSlotLength = kCallInstructionLength; 568 static const int kDebugBreakSlotLength = kCallInstructionLength;
569 569
570 // One byte opcode for test eax,0xXXXXXXXX. 570 // One byte opcode for test eax,0xXXXXXXXX.
571 static const byte kTestEaxByte = 0xA9; 571 static const byte kTestEaxByte = 0xA9;
572 // One byte opcode for test al, 0xXX. 572 // One byte opcode for test al, 0xXX.
573 static const byte kTestAlByte = 0xA8; 573 static const byte kTestAlByte = 0xA8;
574 // One byte opcode for nop.
575 static const byte kNopByte = 0x90;
576
577 // One byte opcode for a short unconditional jump.
578 static const byte kJmpShortOpcode = 0xEB;
579 // One byte prefix for a short conditional jump.
580 static const byte kJccShortPrefix = 0x70;
581
574 582
575 // --------------------------------------------------------------------------- 583 // ---------------------------------------------------------------------------
576 // Code generation 584 // Code generation
577 // 585 //
578 // - function names correspond one-to-one to ia32 instruction mnemonics 586 // - function names correspond one-to-one to ia32 instruction mnemonics
579 // - unless specified otherwise, instructions operate on 32bit operands 587 // - unless specified otherwise, instructions operate on 32bit operands
580 // - instructions on 8bit (byte) operands/registers have a trailing '_b' 588 // - instructions on 8bit (byte) operands/registers have a trailing '_b'
581 // - instructions on 16bit (word) operands/registers have a trailing '_w' 589 // - instructions on 16bit (word) operands/registers have a trailing '_w'
582 // - naming conflicts with C++ keywords are resolved via a trailing '_' 590 // - naming conflicts with C++ keywords are resolved via a trailing '_'
583 591
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 private: 1072 private:
1065 Assembler* assembler_; 1073 Assembler* assembler_;
1066 #ifdef DEBUG 1074 #ifdef DEBUG
1067 int space_before_; 1075 int space_before_;
1068 #endif 1076 #endif
1069 }; 1077 };
1070 1078
1071 } } // namespace v8::internal 1079 } } // namespace v8::internal
1072 1080
1073 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1081 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698