| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 (function(global, code_stubs) { | 5 (function(global, code_stubs) { |
| 6 | 6 |
| 7 "use strict"; | 7 "use strict"; |
| 8 | 8 |
| 9 code_stubs.StringLengthTFStub = function StringLengthTFStub(call_conv, minor_key
) { | 9 code_stubs.StringLengthTFStub = function StringLengthTFStub(call_conv, minor_key
) { |
| 10 var stub = function(receiver, name, i, v) { | 10 var stub = function(receiver, name, i, v) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 %SetForceInlineFlag(call_from_optimized_ic); | 60 %SetForceInlineFlag(call_from_optimized_ic); |
| 61 var call_from_unoptimized_ic = function(f, i, receiver, v) { | 61 var call_from_unoptimized_ic = function(f, i, receiver, v) { |
| 62 var tv = %_GetTypeFeedbackVector(%_GetCallerJSFunction()); | 62 var tv = %_GetTypeFeedbackVector(%_GetCallerJSFunction()); |
| 63 return call_from_optimized_ic(f, i, tv, receiver, v); | 63 return call_from_optimized_ic(f, i, tv, receiver, v); |
| 64 } | 64 } |
| 65 return call_from_unoptimized_ic; | 65 return call_from_unoptimized_ic; |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 | 68 |
| 69 }) | 69 }) |
| OLD | NEW |