diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-07-21 22:20:37 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-07-21 22:20:37 -0700 |
commit | f319e126218dcaafdb0ccf7e968ff839f8327bba (patch) | |
tree | 209546d94cdc6c19f69ef92e3ec057301369f416 /deps/v8/src/mips/assembler-mips.h | |
parent | ef1be160d66b7da8bc2da857b1c33c6f680d86f1 (diff) | |
download | node-new-f319e126218dcaafdb0ccf7e968ff839f8327bba.tar.gz |
Upgrade V8 to 3.4.14
Diffstat (limited to 'deps/v8/src/mips/assembler-mips.h')
-rw-r--r-- | deps/v8/src/mips/assembler-mips.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/deps/v8/src/mips/assembler-mips.h b/deps/v8/src/mips/assembler-mips.h index f3730d6f31..a16cd80ea1 100644 --- a/deps/v8/src/mips/assembler-mips.h +++ b/deps/v8/src/mips/assembler-mips.h @@ -833,7 +833,17 @@ class Assembler : public AssemblerBase { // Record the AST id of the CallIC being compiled, so that it can be placed // in the relocation information. - void RecordAstId(unsigned ast_id) { ast_id_for_reloc_info_ = ast_id; } + void SetRecordedAstId(unsigned ast_id) { + ASSERT(recorded_ast_id_ == kNoASTId); + recorded_ast_id_ = ast_id; + } + + unsigned RecordedAstId() { + ASSERT(recorded_ast_id_ != kNoASTId); + return recorded_ast_id_; + } + + void ClearRecordedAstId() { recorded_ast_id_ = kNoASTId; } // Record a comment relocation entry that can be used by a disassembler. // Use --code-comments to enable. @@ -926,7 +936,7 @@ class Assembler : public AssemblerBase { // Relocation for a type-recording IC has the AST id added to it. This // member variable is a way to pass the information from the call site to // the relocation info. - unsigned ast_id_for_reloc_info_; + unsigned recorded_ast_id_; bool emit_debug_code() const { return emit_debug_code_; } |