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

Side by Side Diff: test/cctest/test-disasm-ia32.cc

Issue 11744020: Rename RelocInfo::NONE to RelocInfo::NONE32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « test/cctest/test-assembler-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 __ xor_(eax, 12345678); 69 __ xor_(eax, 12345678);
70 __ and_(eax, 12345678); 70 __ and_(eax, 12345678);
71 Handle<FixedArray> foo = FACTORY->NewFixedArray(10, TENURED); 71 Handle<FixedArray> foo = FACTORY->NewFixedArray(10, TENURED);
72 __ cmp(eax, foo); 72 __ cmp(eax, foo);
73 73
74 // ---- This one caused crash 74 // ---- This one caused crash
75 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4] 75 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4]
76 76
77 // ---- All instructions that I can think of 77 // ---- All instructions that I can think of
78 __ add(edx, ebx); 78 __ add(edx, ebx);
79 __ add(edx, Operand(12, RelocInfo::NONE)); 79 __ add(edx, Operand(12, RelocInfo::NONE32));
80 __ add(edx, Operand(ebx, 0)); 80 __ add(edx, Operand(ebx, 0));
81 __ add(edx, Operand(ebx, 16)); 81 __ add(edx, Operand(ebx, 16));
82 __ add(edx, Operand(ebx, 1999)); 82 __ add(edx, Operand(ebx, 1999));
83 __ add(edx, Operand(esp, 0)); 83 __ add(edx, Operand(esp, 0));
84 __ add(edx, Operand(esp, 16)); 84 __ add(edx, Operand(esp, 16));
85 __ add(edx, Operand(esp, 1999)); 85 __ add(edx, Operand(esp, 1999));
86 __ nop(); 86 __ nop();
87 __ add(edi, Operand(ebp, ecx, times_4, 0)); 87 __ add(edi, Operand(ebp, ecx, times_4, 0));
88 __ add(edi, Operand(ebp, ecx, times_4, 12)); 88 __ add(edi, Operand(ebp, ecx, times_4, 12));
89 __ add(Operand(ebp, ecx, times_4, 12), Immediate(12)); 89 __ add(Operand(ebp, ecx, times_4, 12), Immediate(12));
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 CHECK(code->IsCode()); 466 CHECK(code->IsCode());
467 #ifdef OBJECT_PRINT 467 #ifdef OBJECT_PRINT
468 Code::cast(code)->Print(); 468 Code::cast(code)->Print();
469 byte* begin = Code::cast(code)->instruction_start(); 469 byte* begin = Code::cast(code)->instruction_start();
470 byte* end = begin + Code::cast(code)->instruction_size(); 470 byte* end = begin + Code::cast(code)->instruction_size();
471 disasm::Disassembler::Disassemble(stdout, begin, end); 471 disasm::Disassembler::Disassemble(stdout, begin, end);
472 #endif 472 #endif
473 } 473 }
474 474
475 #undef __ 475 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698