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

Side by Side Diff: src/ia32/full-codegen-ia32.cc

Issue 106863002: Fix compilation with clang (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/heap-snapshot-generator.cc ('k') | src/ia32/stub-cache-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 4829 matching lines...) Expand 10 before | Expand all | Expand 10 after
4840 *stack_depth = 0; 4840 *stack_depth = 0;
4841 *context_length = 0; 4841 *context_length = 0;
4842 return previous_; 4842 return previous_;
4843 } 4843 }
4844 4844
4845 #undef __ 4845 #undef __
4846 4846
4847 4847
4848 static const byte kJnsInstruction = 0x79; 4848 static const byte kJnsInstruction = 0x79;
4849 static const byte kJnsOffset = 0x11; 4849 static const byte kJnsOffset = 0x11;
4850 static const byte kCallInstruction = 0xe8;
4851 static const byte kNopByteOne = 0x66; 4850 static const byte kNopByteOne = 0x66;
4852 static const byte kNopByteTwo = 0x90; 4851 static const byte kNopByteTwo = 0x90;
4852 #ifdef DEBUG
4853 static const byte kCallInstruction = 0xe8;
4854 #endif
4853 4855
4854 4856
4855 void BackEdgeTable::PatchAt(Code* unoptimized_code, 4857 void BackEdgeTable::PatchAt(Code* unoptimized_code,
4856 Address pc, 4858 Address pc,
4857 BackEdgeState target_state, 4859 BackEdgeState target_state,
4858 Code* replacement_code) { 4860 Code* replacement_code) {
4859 Address call_target_address = pc - kIntSize; 4861 Address call_target_address = pc - kIntSize;
4860 Address jns_instr_address = call_target_address - 3; 4862 Address jns_instr_address = call_target_address - 3;
4861 Address jns_offset_address = call_target_address - 2; 4863 Address jns_offset_address = call_target_address - 2;
4862 4864
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
4913 4915
4914 ASSERT_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 4916 ASSERT_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
4915 Assembler::target_address_at(call_target_address)); 4917 Assembler::target_address_at(call_target_address));
4916 return OSR_AFTER_STACK_CHECK; 4918 return OSR_AFTER_STACK_CHECK;
4917 } 4919 }
4918 4920
4919 4921
4920 } } // namespace v8::internal 4922 } } // namespace v8::internal
4921 4923
4922 #endif // V8_TARGET_ARCH_IA32 4924 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698