Handle<JSObject> object,
Handle<JSObject> last) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadNonexistent(*name, *object, *last),
+ (set_failure(NULL),
+ CompileLoadNonexistent(*name, *object, *last)),
Code);
}
int index,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadField(*object, *holder, index, *name),
+ (set_failure(NULL),
+ CompileLoadField(*object, *holder, index, *name)),
Code);
}
Handle<JSObject> holder,
Handle<AccessorInfo> callback) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadCallback(*name, *object, *holder, *callback),
+ (set_failure(NULL),
+ CompileLoadCallback(*name, *object, *holder, *callback)),
Code);
}
Handle<Object> value,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadConstant(*object, *holder, *value, *name),
+ (set_failure(NULL),
+ CompileLoadConstant(*object, *holder, *value, *name)),
Code);
}
Handle<JSObject> holder,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadInterceptor(*object, *holder, *name),
+ (set_failure(NULL),
+ CompileLoadInterceptor(*object, *holder, *name)),
Code);
}
Handle<String> name,
bool is_dont_delete) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadGlobal(*object,
- *holder,
- *cell,
- *name,
- is_dont_delete),
+ (set_failure(NULL),
+ CompileLoadGlobal(
+ *object, *holder, *cell, *name, is_dont_delete)),
Code);
}
Handle<Code> StubCache::ComputeLoadGlobal(Handle<String> name,
Handle<JSObject> holder,
int index) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadField(*name, *object, *holder, index),
+ (set_failure(NULL),
+ CompileLoadField(*name, *object, *holder, index)),
Code);
}
Handle<JSObject> holder,
Handle<Object> value) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadConstant(*name, *object, *holder, *value),
+ (set_failure(NULL),
+ CompileLoadConstant(*name, *object, *holder, *value)),
Code);
}
Handle<JSObject> holder,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadInterceptor(*object, *holder, *name),
+ (set_failure(NULL),
+ CompileLoadInterceptor(*object, *holder, *name)),
Code);
}
Handle<JSObject> holder,
Handle<AccessorInfo> callback) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadCallback(*name, *object, *holder, *callback),
+ (set_failure(NULL),
+ CompileLoadCallback(*name, *object, *holder, *callback)),
Code);
}
Handle<Code> KeyedLoadStubCompiler::CompileLoadArrayLength(
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadArrayLength(*name),
+ (set_failure(NULL),
+ CompileLoadArrayLength(*name)),
Code);
}
Handle<Code> KeyedLoadStubCompiler::CompileLoadStringLength(
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadStringLength(*name),
+ (set_failure(NULL),
+ CompileLoadStringLength(*name)),
Code);
}
Handle<Code> KeyedLoadStubCompiler::CompileLoadFunctionPrototype(
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileLoadFunctionPrototype(*name),
+ (set_failure(NULL),
+ CompileLoadFunctionPrototype(*name)),
Code);
}
Handle<Map> transition,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileStoreField(*object,
- index,
- (transition.is_null()
- ? NULL
- : *transition),
- *name),
+ (set_failure(NULL),
+ CompileStoreField(
+ *object,
+ index,
+ (transition.is_null() ? NULL : *transition),
+ *name)),
Code);
}
Handle<JSGlobalPropertyCell> holder,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileStoreGlobal(*object, *holder, *name),
+ (set_failure(NULL),
+ CompileStoreGlobal(*object, *holder, *name)),
Code);
}
Handle<AccessorInfo> callback,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileStoreCallback(*object, *callback, *name),
+ (set_failure(NULL),
+ CompileStoreCallback(*object, *callback, *name)),
Code);
}
Handle<Code> StoreStubCompiler::CompileStoreInterceptor(Handle<JSObject> object,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileStoreInterceptor(*object, *name),
+ (set_failure(NULL),
+ CompileStoreInterceptor(*object, *name)),
Code);
}
Handle<Map> transition,
Handle<String> name) {
CALL_HEAP_FUNCTION(isolate(),
- CompileStoreField(*object, index,
- (transition.is_null()
- ? NULL
- : *transition),
- *name),
+ (set_failure(NULL),
+ CompileStoreField(
+ *object,
+ index,
+ (transition.is_null() ? NULL : *transition),
+ *name)),
Code);
}