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

Side by Side Diff: src/objects-inl.h

Issue 169683003: Second attempt at introducing a premonomorphic state in the call (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 6 years, 10 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/objects.h ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')
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 // 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 6519 matching lines...) Expand 10 before | Expand all | Expand 10 after
6530 if (length() == 0) return this; 6530 if (length() == 0) return this;
6531 return GetHeap()->CopyConstantPoolArray(this); 6531 return GetHeap()->CopyConstantPoolArray(this);
6532 } 6532 }
6533 6533
6534 6534
6535 Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) { 6535 Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) {
6536 return isolate->factory()->the_hole_value(); 6536 return isolate->factory()->the_hole_value();
6537 } 6537 }
6538 6538
6539 6539
6540 Handle<Object> TypeFeedbackInfo::PremonomorphicSentinel(Isolate* isolate) {
6541 return isolate->factory()->null_value();
6542 }
6543
6544
6540 Handle<Object> TypeFeedbackInfo::MegamorphicSentinel(Isolate* isolate) { 6545 Handle<Object> TypeFeedbackInfo::MegamorphicSentinel(Isolate* isolate) {
6541 return isolate->factory()->undefined_value(); 6546 return isolate->factory()->undefined_value();
6542 } 6547 }
6543 6548
6544 6549
6545 Handle<Object> TypeFeedbackInfo::MonomorphicArraySentinel(Isolate* isolate, 6550 Handle<Object> TypeFeedbackInfo::MonomorphicArraySentinel(Isolate* isolate,
6546 ElementsKind elements_kind) { 6551 ElementsKind elements_kind) {
6547 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate); 6552 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate);
6548 } 6553 }
6549 6554
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
6739 #undef READ_UINT32_FIELD 6744 #undef READ_UINT32_FIELD
6740 #undef WRITE_UINT32_FIELD 6745 #undef WRITE_UINT32_FIELD
6741 #undef READ_SHORT_FIELD 6746 #undef READ_SHORT_FIELD
6742 #undef WRITE_SHORT_FIELD 6747 #undef WRITE_SHORT_FIELD
6743 #undef READ_BYTE_FIELD 6748 #undef READ_BYTE_FIELD
6744 #undef WRITE_BYTE_FIELD 6749 #undef WRITE_BYTE_FIELD
6745 6750
6746 } } // namespace v8::internal 6751 } } // namespace v8::internal
6747 6752
6748 #endif // V8_OBJECTS_INL_H_ 6753 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698