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

Side by Side Diff: runtime/vm/object.cc

Issue 10928131: Fix dart2js status for raw string test (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | tests/language/language_dart2js.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/bigint_operations.h" 10 #include "vm/bigint_operations.h"
(...skipping 5055 matching lines...) Expand 10 before | Expand all | Expand 10 after
5066 GrowableObjectArray::Handle(GrowableObjectArray::New(data.Length())); 5066 GrowableObjectArray::Handle(GrowableObjectArray::New(data.Length()));
5067 const String& private_key = String::Handle(PrivateKey()); 5067 const String& private_key = String::Handle(PrivateKey());
5068 intptr_t private_len = private_key.Length(); 5068 intptr_t private_len = private_key.Length();
5069 5069
5070 String& blank = String::Handle(String::New(" ")); 5070 String& blank = String::Handle(String::New(" "));
5071 String& newline = String::Handle(String::New("\n")); 5071 String& newline = String::Handle(String::New("\n"));
5072 String& two_newlines = String::Handle(String::New("\n\n")); 5072 String& two_newlines = String::Handle(String::New("\n\n"));
5073 String& double_quotes = String::Handle(String::New("\"")); 5073 String& double_quotes = String::Handle(String::New("\""));
5074 String& dollar = String::Handle(String::New("$")); 5074 String& dollar = String::Handle(String::New("$"));
5075 String& two_spaces = String::Handle(String::New(" ")); 5075 String& two_spaces = String::Handle(String::New(" "));
5076 String& raw_string = String::Handle(String::New("@")); 5076 String& raw_string = String::Handle(String::New("r"));
5077 5077
5078 Token::Kind curr = iterator.CurrentTokenKind(); 5078 Token::Kind curr = iterator.CurrentTokenKind();
5079 Token::Kind prev = Token::kILLEGAL; 5079 Token::Kind prev = Token::kILLEGAL;
5080 // Handles used in the loop. 5080 // Handles used in the loop.
5081 Object& obj = Object::Handle(); 5081 Object& obj = Object::Handle();
5082 String& literal = String::Handle(); 5082 String& literal = String::Handle();
5083 // Current indentation level. 5083 // Current indentation level.
5084 int indent = 0; 5084 int indent = 0;
5085 5085
5086 while (curr != Token::kEOS) { 5086 while (curr != Token::kEOS) {
(...skipping 6415 matching lines...) Expand 10 before | Expand all | Expand 10 after
11502 } 11502 }
11503 return result.raw(); 11503 return result.raw();
11504 } 11504 }
11505 11505
11506 11506
11507 const char* WeakProperty::ToCString() const { 11507 const char* WeakProperty::ToCString() const {
11508 return "_WeakProperty"; 11508 return "_WeakProperty";
11509 } 11509 }
11510 11510
11511 } // namespace dart 11511 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698