Merge the last PGO-clean changeset of mozilla-inbound into mozilla-central.

This commit is contained in:
Joe Drew 2012-01-28 21:41:17 -05:00
Родитель e3244ecb61 ddb1e939c6
Коммит 31ea9c416c
5 изменённых файлов: 21 добавлений и 12 удалений

Просмотреть файл

@ -130,11 +130,6 @@ robocop.ap_: AndroidManifest.xml
$(AAPT) package -f -M AndroidManifest.xml -I $(ANDROID_SDK)/android.jar -I . -S res -F $@ -J ./
robocop.apk: robocop.ap_ classes.dex
$(APKBUILDER) robocop-raw.apk -v $(APKBUILDER_FLAGS) -z robocop.ap_ -f classes.dex
ifdef JARSIGNER
$(JARSIGNER) robocop-raw.apk
endif
$(ZIPALIGN) -f -v 4 robocop-raw.apk $@
cp $(TESTPATH)/robocop.ini robocop.ini
cp $(srcdir)/parse_ids.py parse_ids.py

Просмотреть файл

@ -713,8 +713,10 @@ void*
txStylesheetCompilerState::popPtr(enumStackType aType)
{
PRUint32 stacklen = mTypeStack.Length();
NS_ABORT_IF_FALSE(stacklen > 0,
"Attempt to pop when type stack is empty\n");
if (stacklen == 0) {
NS_RUNTIMEABORT("Attempt to pop when type stack is empty");
}
enumStackType type = mTypeStack.ElementAt(stacklen - 1);
mTypeStack.RemoveElementAt(stacklen - 1);
void* value = mOtherStack.pop();
@ -723,8 +725,10 @@ txStylesheetCompilerState::popPtr(enumStackType aType)
PR_LOG(txLog::xslt, PR_LOG_DEBUG, ("popPtr: 0x%x type %u requested %u\n", value, type, aType));
#endif
NS_ABORT_IF_FALSE(type == aType,
"Expected type does not match top element type on stack");
if (type != aType) {
NS_RUNTIMEABORT("Expected type does not match top element type");
}
return value;
}

Просмотреть файл

@ -1,3 +1,3 @@
{
"talos_zip": "http://build.mozilla.org/talos/zips/talos.bug719946.49138575dae9.zip"
"talos_zip": "http://build.mozilla.org/talos/zips/talos.bug721857.05f01e049452.zip"
}

Просмотреть файл

@ -294,7 +294,6 @@ stage-mochitest: robotium-id-map
stage-mochitest: make-stage-dir
$(MAKE) -C $(DEPTH)/testing/mochitest stage-package
ifeq ($(MOZ_BUILD_APP),mobile/android)
$(NSINSTALL) $(DEPTH)/build/mobile/robocop/robocop.apk $(PKG_STAGE)/bin
$(NSINSTALL) $(DEPTH)/build/mobile/robocop/fennec_ids.txt $(PKG_STAGE)/mochitest
endif

Просмотреть файл

@ -335,6 +335,16 @@ else
GECKO_APP_AP_PATH = $(call core_abspath,$(DEPTH)/mobile/android/base)
endif
INNER_ROBOCOP_PACKAGE=echo
ifeq ($(MOZ_BUILD_APP),mobile/android)
UPLOAD_EXTRA_FILES += robocop.apk
ROBOCOP_PATH = $(call core_abspath,$(_ABS_DIST)/../build/mobile/robocop)
INNER_ROBOCOP_PACKAGE= \
$(APKBUILDER) $(_ABS_DIST)/robocop-raw.apk -v $(APKBUILDER_FLAGS) -z $(ROBOCOP_PATH)/robocop.ap_ -f $(ROBOCOP_PATH)/classes.dex && \
$(JARSIGNER) $(_ABS_DIST)/robocop-raw.apk && \
$(ZIPALIGN) -f -v 4 $(_ABS_DIST)/robocop-raw.apk $(_ABS_DIST)/robocop.apk
endif
PKG_SUFFIX = .apk
INNER_MAKE_PACKAGE = \
make -C $(GECKO_APP_AP_PATH) gecko.ap_ && \
@ -355,7 +365,8 @@ INNER_MAKE_PACKAGE = \
$(APKBUILDER) $(_ABS_DIST)/gecko.apk -v $(APKBUILDER_FLAGS) -z $(_ABS_DIST)/gecko.ap_ -f $(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH)/classes.dex && \
cp $(_ABS_DIST)/gecko.apk $(_ABS_DIST)/gecko-unsigned-unaligned.apk && \
$(JARSIGNER) $(_ABS_DIST)/gecko.apk && \
$(ZIPALIGN) -f -v 4 $(_ABS_DIST)/gecko.apk $(PACKAGE)
$(ZIPALIGN) -f -v 4 $(_ABS_DIST)/gecko.apk $(PACKAGE) && \
$(INNER_ROBOCOP_PACKAGE)
INNER_UNMAKE_PACKAGE = \
mkdir $(MOZ_PKG_DIR) && \