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: src/ia32/macro-assembler-ia32.cc

Issue 8512004: Fixing generated hash function on all platforms. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.h » ('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 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 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 ret(bytes_dropped); 2138 ret(bytes_dropped);
2139 } else { 2139 } else {
2140 pop(scratch); 2140 pop(scratch);
2141 add(esp, Immediate(bytes_dropped)); 2141 add(esp, Immediate(bytes_dropped));
2142 push(scratch); 2142 push(scratch);
2143 ret(0); 2143 ret(0);
2144 } 2144 }
2145 } 2145 }
2146 2146
2147 2147
2148
2149
2150 void MacroAssembler::Drop(int stack_elements) { 2148 void MacroAssembler::Drop(int stack_elements) {
2151 if (stack_elements > 0) { 2149 if (stack_elements > 0) {
2152 add(esp, Immediate(stack_elements * kPointerSize)); 2150 add(esp, Immediate(stack_elements * kPointerSize));
2153 } 2151 }
2154 } 2152 }
2155 2153
2156 2154
2157 void MacroAssembler::Move(Register dst, Register src) { 2155 void MacroAssembler::Move(Register dst, Register src) {
2158 if (!dst.is(src)) { 2156 if (!dst.is(src)) {
2159 mov(dst, src); 2157 mov(dst, src);
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 cmp(length, Operand(bitmap_scratch, MemoryChunk::kSizeOffset)); 2636 cmp(length, Operand(bitmap_scratch, MemoryChunk::kSizeOffset));
2639 Check(less_equal, "Live Bytes Count overflow chunk size"); 2637 Check(less_equal, "Live Bytes Count overflow chunk size");
2640 } 2638 }
2641 2639
2642 bind(&done); 2640 bind(&done);
2643 } 2641 }
2644 2642
2645 } } // namespace v8::internal 2643 } } // namespace v8::internal
2646 2644
2647 #endif // V8_TARGET_ARCH_IA32 2645 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698