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

Side by Side Diff: src/bootstrapper.cc

Issue 151022: X64: Remove temporary compiler and assembler tests, fix typeof x == 'object' test. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 5 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 | src/x64/codegen-x64.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 Handle<Map> script_map = Handle<Map>(script_fun->initial_map()); 1106 Handle<Map> script_map = Handle<Map>(script_fun->initial_map());
1107 script_map->set_instance_descriptors(*script_descriptors); 1107 script_map->set_instance_descriptors(*script_descriptors);
1108 1108
1109 // Allocate the empty script. 1109 // Allocate the empty script.
1110 Handle<Script> script = Factory::NewScript(Factory::empty_string()); 1110 Handle<Script> script = Factory::NewScript(Factory::empty_string());
1111 script->set_type(Smi::FromInt(Script::TYPE_NATIVE)); 1111 script->set_type(Smi::FromInt(Script::TYPE_NATIVE));
1112 global_context()->set_empty_script(*script); 1112 global_context()->set_empty_script(*script);
1113 } 1113 }
1114 1114
1115 #ifdef V8_HOST_ARCH_64_BIT 1115 #ifdef V8_HOST_ARCH_64_BIT
1116 // TODO(X64): Remove this test when code generation works and is stable. 1116 // TODO(X64): Remove this when inline caches work.
1117 CodeGenerator::TestCodeGenerator(); 1117 FLAG_use_ic = false;
1118 #endif // V8_HOST_ARCH_64_BIT 1118 #endif // V8_HOST_ARCH_64_BIT
1119 1119
1120 1120
1121 if (FLAG_natives_file == NULL) { 1121 if (FLAG_natives_file == NULL) {
1122 // Without natives file, install default natives. 1122 // Without natives file, install default natives.
1123 for (int i = Natives::GetDelayCount(); 1123 for (int i = Natives::GetDelayCount();
1124 i < Natives::GetBuiltinsCount(); 1124 i < Natives::GetBuiltinsCount();
1125 i++) { 1125 i++) {
1126 if (!CompileBuiltin(i)) return false; 1126 if (!CompileBuiltin(i)) return false;
1127 } 1127 }
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 } 1613 }
1614 1614
1615 1615
1616 // Restore statics that are thread local. 1616 // Restore statics that are thread local.
1617 char* Genesis::RestoreState(char* from) { 1617 char* Genesis::RestoreState(char* from) {
1618 current_ = *reinterpret_cast<Genesis**>(from); 1618 current_ = *reinterpret_cast<Genesis**>(from);
1619 return from + sizeof(current_); 1619 return from + sizeof(current_);
1620 } 1620 }
1621 1621
1622 } } // namespace v8::internal 1622 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698