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

Side by Side Diff: test/cctest/test-code-stubs-x64.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-mips64.cc ('k') | test/cctest/test-disasm-arm64.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 // Rrdistribution and use in source and binary forms, with or without 2 // Rrdistribution 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 // * Rrdistributions of source code must retain the above copyright 6 // * Rrdistributions 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 // * Rrdistributions in binary form must reproduce the above 8 // * Rrdistributions 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 __ popq(rdi); 112 __ popq(rdi);
113 __ popq(rsi); 113 __ popq(rsi);
114 __ popq(rdx); 114 __ popq(rdx);
115 __ popq(rcx); 115 __ popq(rcx);
116 __ popq(rbx); 116 __ popq(rbx);
117 117
118 __ ret(0); 118 __ ret(0);
119 119
120 CodeDesc desc; 120 CodeDesc desc;
121 assm.GetCode(&desc); 121 assm.GetCode(isolate, &desc);
122 return reinterpret_cast<ConvertDToIFunc>( 122 return reinterpret_cast<ConvertDToIFunc>(
123 reinterpret_cast<intptr_t>(buffer)); 123 reinterpret_cast<intptr_t>(buffer));
124 } 124 }
125 125
126 #undef __ 126 #undef __
127 127
128 128
129 static Isolate* GetIsolateFrom(LocalContext* context) { 129 static Isolate* GetIsolateFrom(LocalContext* context) {
130 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 130 return reinterpret_cast<Isolate*>((*context)->GetIsolate());
131 } 131 }
(...skipping 17 matching lines...) Expand all
149 149
150 for (size_t s = 0; s < sizeof(source_registers) / sizeof(Register); s++) { 150 for (size_t s = 0; s < sizeof(source_registers) / sizeof(Register); s++) {
151 for (size_t d = 0; d < sizeof(dest_registers) / sizeof(Register); d++) { 151 for (size_t d = 0; d < sizeof(dest_registers) / sizeof(Register); d++) {
152 RunAllTruncationTests( 152 RunAllTruncationTests(
153 MakeConvertDToIFuncTrampoline(isolate, 153 MakeConvertDToIFuncTrampoline(isolate,
154 source_registers[s], 154 source_registers[s],
155 dest_registers[d])); 155 dest_registers[d]));
156 } 156 }
157 } 157 }
158 } 158 }
OLDNEW
« no previous file with comments | « test/cctest/test-code-stubs-mips64.cc ('k') | test/cctest/test-disasm-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698