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/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/cpu-profiler.h" | 9 #include "src/cpu-profiler.h" |
10 #include "src/factory.h" | 10 #include "src/factory.h" |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 os << "_CheckLeft"; | 313 os << "_CheckLeft"; |
314 } else if ((flags() & STRING_ADD_CHECK_RIGHT) == STRING_ADD_CHECK_RIGHT) { | 314 } else if ((flags() & STRING_ADD_CHECK_RIGHT) == STRING_ADD_CHECK_RIGHT) { |
315 os << "_CheckRight"; | 315 os << "_CheckRight"; |
316 } | 316 } |
317 if (pretenure_flag() == TENURED) { | 317 if (pretenure_flag() == TENURED) { |
318 os << "_Tenured"; | 318 os << "_Tenured"; |
319 } | 319 } |
320 } | 320 } |
321 | 321 |
322 | 322 |
323 InlineCacheState ICCompareStub::GetICState() { | 323 InlineCacheState ICCompareStub::GetICState() const { |
324 CompareIC::State state = Max(left_, right_); | 324 CompareIC::State state = Max(left_, right_); |
325 switch (state) { | 325 switch (state) { |
326 case CompareIC::UNINITIALIZED: | 326 case CompareIC::UNINITIALIZED: |
327 return ::v8::internal::UNINITIALIZED; | 327 return ::v8::internal::UNINITIALIZED; |
328 case CompareIC::SMI: | 328 case CompareIC::SMI: |
329 case CompareIC::NUMBER: | 329 case CompareIC::NUMBER: |
330 case CompareIC::INTERNALIZED_STRING: | 330 case CompareIC::INTERNALIZED_STRING: |
331 case CompareIC::STRING: | 331 case CompareIC::STRING: |
332 case CompareIC::UNIQUE_NAME: | 332 case CompareIC::UNIQUE_NAME: |
333 case CompareIC::OBJECT: | 333 case CompareIC::OBJECT: |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 InstallDescriptor(isolate, &stub3); | 976 InstallDescriptor(isolate, &stub3); |
977 } | 977 } |
978 | 978 |
979 InternalArrayConstructorStub::InternalArrayConstructorStub( | 979 InternalArrayConstructorStub::InternalArrayConstructorStub( |
980 Isolate* isolate) : PlatformCodeStub(isolate) { | 980 Isolate* isolate) : PlatformCodeStub(isolate) { |
981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
982 } | 982 } |
983 | 983 |
984 | 984 |
985 } } // namespace v8::internal | 985 } } // namespace v8::internal |
OLD | NEW |