This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14307 | |
30345 | |
185278 | |
191839 | |
257449 | |
273487 | |
339097 | |
345658 | |
361696 | |
417829 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: dota_osx [1093] | |
Path: /Users/USER/Library/Application Support/Steam/*/dota_osx | |
Identifier: dota_osx | |
Version: ??? | |
Code Type: X86 (Native) | |
Parent Process: bash [1090] | |
User ID: 501 | |
Date/Time: 2013-07-22 18:23:07.078 -0300 | |
OS Version: Mac OS X 10.8.4 (12E55) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Algumas vezes precisamos criar uma classe que utilizaremos apenas | |
// uma vez (um objeto) e nunca mais, poluindo o espaco de nomes | |
// e dando mais trabalho | |
class MyClickable implements Clickable { | |
function onClick() { | |
showOnScreen(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printElements(x) { | |
for (var i = 0; i < x.size(); ++i) { // if string has no size() it can't be used in this function | |
println(x.at(i)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generates the opcode for FOR expression | |
*/ | |
AST_VISITOR(CodeGenVisitor, ForExpr) { | |
Value* value; | |
Opcode* jmpz; | |
Opcode* jmp; | |
unsigned int start_pos = 0; | |
if (!expr->isIteratorMode()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /usr/include/machine/_types.h:34, | |
from /usr/include/sys/_types.h:33, | |
from /usr/include/_types.h:27, | |
from /usr/include/unistd.h:71, | |
from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/os_defines.h:61, | |
from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h:41, | |
from /usr/include/c++/4.2.1/utility:65, | |
from /usr/include/c++/4.2.1/tr1/hashtable:55, | |
from /usr/include/c++/4.2.1/tr1/unordered_map:37, | |
from ./compiler/ssa.h:29, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLEVER_VM_HANDLER(VM::obj_constr_handler) { | |
CallableValue* var = static_cast<CallableValue*>(opcode.get_op1()); | |
Value* args = opcode.get_op2(); | |
Value* result = opcode.get_result(); | |
const ValueVector* func_args = args ? args->getVector() : NULL; | |
result->initialize(); | |
/* Call the method */ | |
var->call(result, func_args); |