Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: src/jsregexp.cc

Issue 6635043: Fix release build (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 Trace new_trace; 853 Trace new_trace;
854 start->Emit(this, &new_trace); 854 start->Emit(this, &new_trace);
855 macro_assembler_->Bind(&fail); 855 macro_assembler_->Bind(&fail);
856 macro_assembler_->Fail(); 856 macro_assembler_->Fail();
857 while (!work_list.is_empty()) { 857 while (!work_list.is_empty()) {
858 work_list.RemoveLast()->Emit(this, &new_trace); 858 work_list.RemoveLast()->Emit(this, &new_trace);
859 } 859 }
860 if (reg_exp_too_big_) return IrregexpRegExpTooBig(); 860 if (reg_exp_too_big_) return IrregexpRegExpTooBig();
861 861
862 Handle<Object> code = macro_assembler_->GetCode(pattern); 862 Handle<Object> code = macro_assembler_->GetCode(pattern);
863 work_list_ = NULL;
864 #ifdef DEBUG
863 if (FLAG_print_code) { 865 if (FLAG_print_code) {
864 Handle<Code>::cast(code)->Disassemble(*pattern->ToCString()); 866 Handle<Code>::cast(code)->Disassemble(*pattern->ToCString());
865 } 867 }
866 work_list_ = NULL;
867 #ifdef DEBUG
868 if (FLAG_trace_regexp_assembler) { 868 if (FLAG_trace_regexp_assembler) {
869 delete macro_assembler_; 869 delete macro_assembler_;
870 } 870 }
871 #endif 871 #endif
872 return RegExpEngine::CompilationResult(*code, next_register_); 872 return RegExpEngine::CompilationResult(*code, next_register_);
873 } 873 }
874 874
875 875
876 bool Trace::DeferredAction::Mentions(int that) { 876 bool Trace::DeferredAction::Mentions(int that) {
877 if (type() == ActionNode::CLEAR_CAPTURES) { 877 if (type() == ActionNode::CLEAR_CAPTURES) {
(...skipping 4457 matching lines...) Expand 10 before | Expand all | Expand 10 after
5335 node, 5335 node,
5336 data->capture_count, 5336 data->capture_count,
5337 pattern); 5337 pattern);
5338 } 5338 }
5339 5339
5340 5340
5341 int OffsetsVector::static_offsets_vector_[ 5341 int OffsetsVector::static_offsets_vector_[
5342 OffsetsVector::kStaticOffsetsVectorSize]; 5342 OffsetsVector::kStaticOffsetsVectorSize];
5343 5343
5344 }} // namespace v8::internal 5344 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698