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

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: '' 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 | « no previous file | src/ia32/code-stubs-ia32.h » ('j') | src/ia32/full-codegen-ia32.cc » ('J')
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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 574
575 // One byte opcode for a short unconditional jump.
576 static const byte kJmpShortOpcode = 0xeb;
William Hesse 2010/12/09 16:27:58 I think we tend to use capital letters in hexadeci
fschneider 2010/12/10 13:19:24 Done.
577 // One byte prefix for a short conditional jump.
578 static const byte kJccShortPrefix = 0x70;
579
575 // --------------------------------------------------------------------------- 580 // ---------------------------------------------------------------------------
576 // Code generation 581 // Code generation
577 // 582 //
578 // - function names correspond one-to-one to ia32 instruction mnemonics 583 // - function names correspond one-to-one to ia32 instruction mnemonics
579 // - unless specified otherwise, instructions operate on 32bit operands 584 // - unless specified otherwise, instructions operate on 32bit operands
580 // - instructions on 8bit (byte) operands/registers have a trailing '_b' 585 // - instructions on 8bit (byte) operands/registers have a trailing '_b'
581 // - instructions on 16bit (word) operands/registers have a trailing '_w' 586 // - instructions on 16bit (word) operands/registers have a trailing '_w'
582 // - naming conflicts with C++ keywords are resolved via a trailing '_' 587 // - naming conflicts with C++ keywords are resolved via a trailing '_'
583 588
584 // NOTE ON INTERFACE: Currently, the interface is not very consistent 589 // NOTE ON INTERFACE: Currently, the interface is not very consistent
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 private: 1069 private:
1065 Assembler* assembler_; 1070 Assembler* assembler_;
1066 #ifdef DEBUG 1071 #ifdef DEBUG
1067 int space_before_; 1072 int space_before_;
1068 #endif 1073 #endif
1069 }; 1074 };
1070 1075
1071 } } // namespace v8::internal 1076 } } // namespace v8::internal
1072 1077
1073 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1078 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/code-stubs-ia32.h » ('j') | src/ia32/full-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698