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

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

Issue 6713074: Require an isolate parameter for most external reference creation to (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Further cleanup Created 9 years, 9 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/stub-cache-x64.cc ('k') | test/cctest/test-serialize.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 Builtins::LoadIC_Initialize)); 276 Builtins::LoadIC_Initialize));
277 __ call(ic, RelocInfo::CODE_TARGET); 277 __ call(ic, RelocInfo::CODE_TARGET);
278 __ nop(); 278 __ nop();
279 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); 279 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY);
280 __ nop(); 280 __ nop();
281 281
282 __ jmp(&L1); 282 __ jmp(&L1);
283 __ jmp(Operand(ebx, ecx, times_4, 10000)); 283 __ jmp(Operand(ebx, ecx, times_4, 10000));
284 #ifdef ENABLE_DEBUGGER_SUPPORT 284 #ifdef ENABLE_DEBUGGER_SUPPORT
285 ExternalReference after_break_target = 285 ExternalReference after_break_target =
286 ExternalReference(Debug_Address::AfterBreakTarget()); 286 ExternalReference(Debug_Address::AfterBreakTarget(),
287 assm.isolate());
287 __ jmp(Operand::StaticVariable(after_break_target)); 288 __ jmp(Operand::StaticVariable(after_break_target));
288 #endif // ENABLE_DEBUGGER_SUPPORT 289 #endif // ENABLE_DEBUGGER_SUPPORT
289 __ jmp(ic, RelocInfo::CODE_TARGET); 290 __ jmp(ic, RelocInfo::CODE_TARGET);
290 __ nop(); 291 __ nop();
291 292
292 293
293 Label Ljcc; 294 Label Ljcc;
294 __ nop(); 295 __ nop();
295 // long jumps 296 // long jumps
296 __ j(overflow, &Ljcc); 297 __ j(overflow, &Ljcc);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 CHECK(code->IsCode()); 467 CHECK(code->IsCode());
467 #ifdef OBJECT_PRINT 468 #ifdef OBJECT_PRINT
468 Code::cast(code)->Print(); 469 Code::cast(code)->Print();
469 byte* begin = Code::cast(code)->instruction_start(); 470 byte* begin = Code::cast(code)->instruction_start();
470 byte* end = begin + Code::cast(code)->instruction_size(); 471 byte* end = begin + Code::cast(code)->instruction_size();
471 disasm::Disassembler::Disassemble(stdout, begin, end); 472 disasm::Disassembler::Disassemble(stdout, begin, end);
472 #endif 473 #endif
473 } 474 }
474 475
475 #undef __ 476 #undef __
OLDNEW
« no previous file with comments | « src/x64/stub-cache-x64.cc ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698