| OLD | NEW |
| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 break; | 249 break; |
| 250 case NEW_STRICT: | 250 case NEW_STRICT: |
| 251 GenerateNewStrict(masm); | 251 GenerateNewStrict(masm); |
| 252 break; | 252 break; |
| 253 } | 253 } |
| 254 } | 254 } |
| 255 | 255 |
| 256 | 256 |
| 257 int CEntryStub::MinorKey() const { | 257 int CEntryStub::MinorKey() const { |
| 258 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; | 258 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; |
| 259 ASSERT(result_size_ == 1 || result_size_ == 2); | 259 DCHECK(result_size_ == 1 || result_size_ == 2); |
| 260 #ifdef _WIN64 | 260 #ifdef _WIN64 |
| 261 return result | ((result_size_ == 1) ? 0 : 2); | 261 return result | ((result_size_ == 1) ? 0 : 2); |
| 262 #else | 262 #else |
| 263 return result; | 263 return result; |
| 264 #endif | 264 #endif |
| 265 } | 265 } |
| 266 | 266 |
| 267 | 267 |
| 268 } } // namespace v8::internal | 268 } } // namespace v8::internal |
| OLD | NEW |