Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: src/code-stubs.cc

Issue 451643002: Clean up IC tracing for CallICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comments. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/code-stubs.h ('k') | src/globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698