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

Side by Side Diff: src/codegen.cc

Issue 334763003: Start using OStreams. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Reformatted. Feedback addressed. Created 6 years, 5 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/code-stubs-hydrogen.cc ('k') | src/hydrogen-dce.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 case NEW_SLOPPY_SLOW: 250 case NEW_SLOPPY_SLOW:
251 GenerateNewSloppySlow(masm); 251 GenerateNewSloppySlow(masm);
252 break; 252 break;
253 case NEW_STRICT: 253 case NEW_STRICT:
254 GenerateNewStrict(masm); 254 GenerateNewStrict(masm);
255 break; 255 break;
256 } 256 }
257 } 257 }
258 258
259 259
260 int CEntryStub::MinorKey() { 260 int CEntryStub::MinorKey() const {
261 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; 261 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0;
262 ASSERT(result_size_ == 1 || result_size_ == 2); 262 ASSERT(result_size_ == 1 || result_size_ == 2);
263 #ifdef _WIN64 263 #ifdef _WIN64
264 return result | ((result_size_ == 1) ? 0 : 2); 264 return result | ((result_size_ == 1) ? 0 : 2);
265 #else 265 #else
266 return result; 266 return result;
267 #endif 267 #endif
268 } 268 }
269 269
270 270
271 } } // namespace v8::internal 271 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen-dce.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698