~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tools/test-js-optimizer-asm-relocate.js

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function leaveMeAlone(c) {
 
2
}
 
3
function replaceMe(a, b) {
 
4
}
 
5
function a(x, y) {
 
6
  replaceMe(H_BASE + 1, F_BASE_vii + 2);
 
7
  replaceMe(H_BASE + 1 | 0, F_BASE_vi + 2 | 0);
 
8
  leaveMeAlone(F_BASE_vii + x, H_BASE + y);
 
9
  leaveMeAlone(F_BASE_vUNKNOWN + x | 0, H_BASE + y | 0);
 
10
}
 
11
// EMSCRIPTEN_GENERATED_FUNCTIONS
 
12
// EXTRA_INFO: { "replacements": { "replaceMe": "fixed" }, "hBase": 33, "fBases": { "vii": 2, "vi": 100, "v": 20 } }