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

Side by Side Diff: src/x64/disasm-x64.cc

Issue 2811033: [Isolates] Remove even more statics. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: rebase and address comments Created 10 years, 6 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/codegen-x64.cc ('k') | no next file » | 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 void InstructionTable::AddJumpConditionalShort() { 260 void InstructionTable::AddJumpConditionalShort() {
261 for (byte b = 0x70; b <= 0x7F; b++) { 261 for (byte b = 0x70; b <= 0x7F; b++) {
262 InstructionDesc* id = &instructions_[b]; 262 InstructionDesc* id = &instructions_[b];
263 ASSERT_EQ(NO_INSTR, id->type); // Information not already entered 263 ASSERT_EQ(NO_INSTR, id->type); // Information not already entered
264 id->mnem = NULL; // Computed depending on condition code. 264 id->mnem = NULL; // Computed depending on condition code.
265 id->type = JUMP_CONDITIONAL_SHORT_INSTR; 265 id->type = JUMP_CONDITIONAL_SHORT_INSTR;
266 } 266 }
267 } 267 }
268 268
269 269
270 // TODO(isolates): This appears to act morally as a constant. Is it safe?
271 static InstructionTable instruction_table; 270 static InstructionTable instruction_table;
272 271
273 272
274 static InstructionDesc cmov_instructions[16] = { 273 static InstructionDesc cmov_instructions[16] = {
275 {"cmovo", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}, 274 {"cmovo", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false},
276 {"cmovno", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}, 275 {"cmovno", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false},
277 {"cmovc", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}, 276 {"cmovc", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false},
278 {"cmovnc", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}, 277 {"cmovnc", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false},
279 {"cmovz", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}, 278 {"cmovz", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false},
280 {"cmovnz", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}, 279 {"cmovnz", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false},
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1670 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1669 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1671 fprintf(f, " "); 1670 fprintf(f, " ");
1672 } 1671 }
1673 fprintf(f, " %s\n", buffer.start()); 1672 fprintf(f, " %s\n", buffer.start());
1674 } 1673 }
1675 } 1674 }
1676 1675
1677 } // namespace disasm 1676 } // namespace disasm
1678 1677
1679 #endif // V8_TARGET_ARCH_X64 1678 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698