OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution 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 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions 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 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 descriptor->deoptimization_handler_ = NULL; | 63 descriptor->deoptimization_handler_ = NULL; |
64 } | 64 } |
65 | 65 |
66 | 66 |
67 void NumberToStringStub::InitializeInterfaceDescriptor( | 67 void NumberToStringStub::InitializeInterfaceDescriptor( |
68 Isolate* isolate, | 68 Isolate* isolate, |
69 CodeStubInterfaceDescriptor* descriptor) { | 69 CodeStubInterfaceDescriptor* descriptor) { |
70 static Register registers[] = { eax }; | 70 static Register registers[] = { eax }; |
71 descriptor->register_param_count_ = 1; | 71 descriptor->register_param_count_ = 1; |
72 descriptor->register_params_ = registers; | 72 descriptor->register_params_ = registers; |
73 descriptor->deoptimization_handler_ = NULL; | 73 descriptor->deoptimization_handler_ = |
| 74 Runtime::FunctionForId(Runtime::kNumberToString)->entry; |
74 } | 75 } |
75 | 76 |
76 | 77 |
77 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( | 78 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
78 Isolate* isolate, | 79 Isolate* isolate, |
79 CodeStubInterfaceDescriptor* descriptor) { | 80 CodeStubInterfaceDescriptor* descriptor) { |
80 static Register registers[] = { eax, ebx, ecx }; | 81 static Register registers[] = { eax, ebx, ecx }; |
81 descriptor->register_param_count_ = 3; | 82 descriptor->register_param_count_ = 3; |
82 descriptor->register_params_ = registers; | 83 descriptor->register_params_ = registers; |
83 descriptor->deoptimization_handler_ = | 84 descriptor->deoptimization_handler_ = |
(...skipping 5938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6022 __ bind(&fast_elements_case); | 6023 __ bind(&fast_elements_case); |
6023 GenerateCase(masm, FAST_ELEMENTS); | 6024 GenerateCase(masm, FAST_ELEMENTS); |
6024 } | 6025 } |
6025 | 6026 |
6026 | 6027 |
6027 #undef __ | 6028 #undef __ |
6028 | 6029 |
6029 } } // namespace v8::internal | 6030 } } // namespace v8::internal |
6030 | 6031 |
6031 #endif // V8_TARGET_ARCH_IA32 | 6032 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |