Revision: 17456
Author: [email protected]
Date: Mon Nov 4 12:00:39 2013 UTC
Log: Remove dead return path from
JSObject::GetHiddenPropertiesHashTable.
[email protected], [email protected]
TEST=cctest/test-api
Review URL: https://codereview.chromium.org/57783002
http://code.google.com/p/v8/source/detail?r=17456
Modified:
/branches/bleeding_edge/src/objects.cc
=======================================
--- /branches/bleeding_edge/src/objects.cc Mon Oct 28 09:01:33 2013 UTC
+++ /branches/bleeding_edge/src/objects.cc Mon Nov 4 12:00:39 2013 UTC
@@ -4966,10 +4966,10 @@
if (descriptors->GetKey(sorted_index) == GetHeap()->hidden_string()
&&
sorted_index < map()->NumberOfOwnDescriptors()) {
ASSERT(descriptors->GetType(sorted_index) == FIELD);
- MaybeObject* maybe_value = this->FastPropertyAt(
- descriptors->GetDetails(sorted_index).representation(),
+ ASSERT(descriptors->GetDetails(sorted_index).representation().
+ IsCompatibleForLoad(Representation::Tagged()));
+ inline_value = this->RawFastPropertyAt(
descriptors->GetFieldIndex(sorted_index));
- if (!maybe_value->To(&inline_value)) return maybe_value;
} else {
inline_value = GetHeap()->undefined_value();
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.