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

Unified Diff: src/objects-inl.h

Issue 229973004: Remove calls to non-handlified version of GetProperty(name). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: update Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index d6665d6f0165c32d2c891e5056e9169effac7496..3e3b7a86bca4eb4d0a3c90a877b76d517039e5f0 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3063,6 +3063,15 @@ void Name::set_hash_field(uint32_t value) {
}
+Handle<Object> GlobalObject::GetPropertyNoExceptionThrown(
+ Handle<GlobalObject> global,
+ Handle<Name> name) {
+ Handle<Object> result = Object::GetProperty(global, name);
+ CHECK_NOT_EMPTY_HANDLE(name->GetIsolate(), result);
+ return result;
+}
+
+
bool Name::Equals(Name* other) {
if (other == this) return true;
if ((this->IsInternalizedString() && other->IsInternalizedString()) ||
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698