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

Side by Side Diff: test/cctest/test-code-stubs-ia32.cc

Issue 2900683002: [compiler] Delay allocation of code-embedded heap numbers. (Closed)
Patch Set: Fix rebase. Created 3 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
« no previous file with comments | « test/cctest/test-code-stubs-arm64.cc ('k') | test/cctest/test-code-stubs-mips.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 __ pop(edi); 109 __ pop(edi);
110 __ pop(esi); 110 __ pop(esi);
111 __ pop(edx); 111 __ pop(edx);
112 __ pop(ecx); 112 __ pop(ecx);
113 __ pop(ebx); 113 __ pop(ebx);
114 114
115 __ ret(kDoubleSize); 115 __ ret(kDoubleSize);
116 116
117 CodeDesc desc; 117 CodeDesc desc;
118 assm.GetCode(&desc); 118 assm.GetCode(isolate, &desc);
119 return reinterpret_cast<ConvertDToIFunc>( 119 return reinterpret_cast<ConvertDToIFunc>(
120 reinterpret_cast<intptr_t>(buffer)); 120 reinterpret_cast<intptr_t>(buffer));
121 } 121 }
122 122
123 #undef __ 123 #undef __
124 124
125 125
126 static Isolate* GetIsolateFrom(LocalContext* context) { 126 static Isolate* GetIsolateFrom(LocalContext* context) {
127 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 127 return reinterpret_cast<Isolate*>((*context)->GetIsolate());
128 } 128 }
(...skipping 17 matching lines...) Expand all
146 146
147 for (size_t s = 0; s < sizeof(source_registers) / sizeof(Register); s++) { 147 for (size_t s = 0; s < sizeof(source_registers) / sizeof(Register); s++) {
148 for (size_t d = 0; d < sizeof(dest_registers) / sizeof(Register); d++) { 148 for (size_t d = 0; d < sizeof(dest_registers) / sizeof(Register); d++) {
149 RunAllTruncationTests( 149 RunAllTruncationTests(
150 MakeConvertDToIFuncTrampoline(isolate, 150 MakeConvertDToIFuncTrampoline(isolate,
151 source_registers[s], 151 source_registers[s],
152 dest_registers[d])); 152 dest_registers[d]));
153 } 153 }
154 } 154 }
155 } 155 }
OLDNEW
« no previous file with comments | « test/cctest/test-code-stubs-arm64.cc ('k') | test/cctest/test-code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698