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 23 matching lines...) Expand all Loading... |
34 #include "factory.h" | 34 #include "factory.h" |
35 #include "gdb-jit.h" | 35 #include "gdb-jit.h" |
36 #include "macro-assembler.h" | 36 #include "macro-assembler.h" |
37 | 37 |
38 namespace v8 { | 38 namespace v8 { |
39 namespace internal { | 39 namespace internal { |
40 | 40 |
41 | 41 |
42 CodeStubInterfaceDescriptor::CodeStubInterfaceDescriptor() | 42 CodeStubInterfaceDescriptor::CodeStubInterfaceDescriptor() |
43 : register_param_count_(-1), | 43 : register_param_count_(-1), |
44 stack_parameter_count_(NULL), | 44 stack_parameter_count_(no_reg), |
45 hint_stack_parameter_count_(-1), | 45 hint_stack_parameter_count_(-1), |
46 function_mode_(NOT_JS_FUNCTION_STUB_MODE), | 46 function_mode_(NOT_JS_FUNCTION_STUB_MODE), |
47 register_params_(NULL), | 47 register_params_(NULL), |
48 deoptimization_handler_(NULL), | 48 deoptimization_handler_(NULL), |
49 miss_handler_(), | 49 miss_handler_(), |
50 has_miss_handler_(false) { } | 50 has_miss_handler_(false) { } |
51 | 51 |
52 | 52 |
53 bool CodeStub::FindCodeInCache(Code** code_out, Isolate* isolate) { | 53 bool CodeStub::FindCodeInCache(Code** code_out, Isolate* isolate) { |
54 UnseededNumberDictionary* stubs = isolate->heap()->code_stubs(); | 54 UnseededNumberDictionary* stubs = isolate->heap()->code_stubs(); |
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 InstallDescriptor(isolate, &stub3); | 1163 InstallDescriptor(isolate, &stub3); |
1164 } | 1164 } |
1165 | 1165 |
1166 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1166 InternalArrayConstructorStub::InternalArrayConstructorStub( |
1167 Isolate* isolate) { | 1167 Isolate* isolate) { |
1168 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1168 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
1169 } | 1169 } |
1170 | 1170 |
1171 | 1171 |
1172 } } // namespace v8::internal | 1172 } } // namespace v8::internal |
OLD | NEW |