Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 6fa2e56a24a0bb067763ea7ceaa961ff25f652b9..d630786f25056e8e171b287c1316c3efa83ad1a2 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -12,6 +12,15 @@ namespace v8 { |
namespace internal { |
// static |
+Callable CodeFactory::LoadGlobalIC(Isolate* isolate, |
+ Handle<GlobalObject> global, |
+ Handle<String> name) { |
+ return Callable(LoadIC::load_global(isolate, global, name), |
+ LoadDescriptor(isolate)); |
+} |
+ |
+ |
+// static |
Callable CodeFactory::LoadIC(Isolate* isolate, ContextualMode mode) { |
return Callable( |
LoadIC::initialize_stub(isolate, LoadICState(mode).GetExtraICState()), |