| 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 case 4: | 279 case 4: |
| 280 assembler.TailCallRuntime(descriptor->miss_handler_id(), | 280 assembler.TailCallRuntime(descriptor->miss_handler_id(), |
| 281 assembler.Parameter(4), assembler.Parameter(0), | 281 assembler.Parameter(4), assembler.Parameter(0), |
| 282 assembler.Parameter(1), assembler.Parameter(2), | 282 assembler.Parameter(1), assembler.Parameter(2), |
| 283 assembler.Parameter(3)); | 283 assembler.Parameter(3)); |
| 284 break; | 284 break; |
| 285 default: | 285 default: |
| 286 UNIMPLEMENTED(); | 286 UNIMPLEMENTED(); |
| 287 break; | 287 break; |
| 288 } | 288 } |
| 289 return compiler::CodeAssembler::GenerateCode(&state); | 289 return compiler::CodeAssembler::GenerateCode(&state, FLAG_csa_verify); |
| 290 } | 290 } |
| 291 | 291 |
| 292 template <class Stub> | 292 template <class Stub> |
| 293 static Handle<Code> DoGenerateCode(Stub* stub) { | 293 static Handle<Code> DoGenerateCode(Stub* stub) { |
| 294 Isolate* isolate = stub->isolate(); | 294 Isolate* isolate = stub->isolate(); |
| 295 CodeStubDescriptor descriptor(stub); | 295 CodeStubDescriptor descriptor(stub); |
| 296 | 296 |
| 297 if (FLAG_minimal && descriptor.has_miss_handler()) { | 297 if (FLAG_minimal && descriptor.has_miss_handler()) { |
| 298 return stub->GenerateRuntimeTailCall(&descriptor); | 298 return stub->GenerateRuntimeTailCall(&descriptor); |
| 299 } | 299 } |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash); | 813 return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash); |
| 814 } | 814 } |
| 815 | 815 |
| 816 | 816 |
| 817 Handle<Code> LoadDictionaryElementStub::GenerateCode() { | 817 Handle<Code> LoadDictionaryElementStub::GenerateCode() { |
| 818 return DoGenerateCode(this); | 818 return DoGenerateCode(this); |
| 819 } | 819 } |
| 820 | 820 |
| 821 } // namespace internal | 821 } // namespace internal |
| 822 } // namespace v8 | 822 } // namespace v8 |
| OLD | NEW |