diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-12-19 01:04:19 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-12-19 01:04:19 +0100 |
commit | a98afdfb2f05d163b2d4145f2d98c4a7ffd13bfd (patch) | |
tree | 7efd649b7aceaab2d4d847ce79c4517fb616afe3 /deps/v8/src/x64/codegen-x64.h | |
parent | 0981e7f663c9f6cfbccb49aa2956df499a63e60d (diff) | |
download | node-new-a98afdfb2f05d163b2d4145f2d98c4a7ffd13bfd.tar.gz |
Revert "Upgrade V8 to 2.0.5"
This reverts commit 20b945df706b2b9fcbc1a84230372d288d497544.
Broken on Hagen's Macintosh. Don't have time to investigate.
Diffstat (limited to 'deps/v8/src/x64/codegen-x64.h')
-rw-r--r-- | deps/v8/src/x64/codegen-x64.h | 38 |
1 files changed, 3 insertions, 35 deletions
diff --git a/deps/v8/src/x64/codegen-x64.h b/deps/v8/src/x64/codegen-x64.h index fdace8d59d..8539884aaf 100644 --- a/deps/v8/src/x64/codegen-x64.h +++ b/deps/v8/src/x64/codegen-x64.h @@ -436,7 +436,7 @@ class CodeGenerator: public AstVisitor { void GenericBinaryOperation( Token::Value op, - StaticType* type, + SmiAnalysis* type, OverwriteMode overwrite_mode); // If possible, combine two constant smi values using op to produce @@ -449,7 +449,7 @@ class CodeGenerator: public AstVisitor { void ConstantSmiBinaryOperation(Token::Value op, Result* operand, Handle<Object> constant_operand, - StaticType* type, + SmiAnalysis* type, bool reversed, OverwriteMode overwrite_mode); @@ -670,8 +670,7 @@ class GenericBinaryOpStub: public CodeStub { mode_(mode), flags_(flags), args_in_registers_(false), - args_reversed_(false), - name_(NULL) { + args_reversed_(false) { use_sse3_ = CpuFeatures::IsSupported(SSE3); ASSERT(OpBits::is_valid(Token::NUM_TOKENS)); } @@ -690,7 +689,6 @@ class GenericBinaryOpStub: public CodeStub { bool args_in_registers_; // Arguments passed in registers not on the stack. bool args_reversed_; // Left and right argument are swapped. bool use_sse3_; - char* name_; const char* GetName(); @@ -747,36 +745,6 @@ class GenericBinaryOpStub: public CodeStub { }; -// Flag that indicates how to generate code for the stub StringAddStub. -enum StringAddFlags { - NO_STRING_ADD_FLAGS = 0, - NO_STRING_CHECK_IN_STUB = 1 << 0 // Omit string check in stub. -}; - - -class StringAddStub: public CodeStub { - public: - explicit StringAddStub(StringAddFlags flags) { - string_check_ = ((flags & NO_STRING_CHECK_IN_STUB) == 0); - } - - private: - Major MajorKey() { return StringAdd; } - int MinorKey() { return string_check_ ? 0 : 1; } - - void Generate(MacroAssembler* masm); - - void GenerateCopyCharacters(MacroAssembler* masm, - Register desc, - Register src, - Register count, - bool ascii); - - // Should the stub check whether arguments are strings? - bool string_check_; -}; - - } } // namespace v8::internal #endif // V8_X64_CODEGEN_X64_H_ |